models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelsAttachDomainRequest

type ModelsAttachDomainRequest struct {

	// deployment
	Deployment string `json:"deployment,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// force
	Force bool `json:"force,omitempty"`
}

ModelsAttachDomainRequest models attach domain request

swagger:model models.AttachDomainRequest

func (*ModelsAttachDomainRequest) ContextValidate

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

ContextValidate validates this models attach domain request based on context it is used

func (*ModelsAttachDomainRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsAttachDomainRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAttachDomainRequest) Validate

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

Validate validates this models attach domain request

type ModelsCreateAPIKeyRequest

type ModelsCreateAPIKeyRequest struct {

	// name
	Name string `json:"name,omitempty"`
}

ModelsCreateAPIKeyRequest models create API key request

swagger:model models.CreateAPIKeyRequest

func (*ModelsCreateAPIKeyRequest) ContextValidate

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

ContextValidate validates this models create API key request based on context it is used

func (*ModelsCreateAPIKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateAPIKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateAPIKeyRequest) Validate

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

Validate validates this models create API key request

type ModelsCreateAPIKeyResponse

type ModelsCreateAPIKeyResponse struct {

	// apikey
	Apikey string `json:"apikey,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`
}

ModelsCreateAPIKeyResponse models create API key response

swagger:model models.CreateAPIKeyResponse

func (*ModelsCreateAPIKeyResponse) ContextValidate

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

ContextValidate validates this models create API key response based on context it is used

func (*ModelsCreateAPIKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateAPIKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateAPIKeyResponse) Validate

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

Validate validates this models create API key response

type ModelsCreateDeploymentRequest

type ModelsCreateDeploymentRequest struct {

	// functions
	Functions []*ModelsDeploymentFunction `json:"functions"`

	// name
	Name string `json:"name,omitempty"`
}

ModelsCreateDeploymentRequest models create deployment request

swagger:model models.CreateDeploymentRequest

func (*ModelsCreateDeploymentRequest) ContextValidate

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

ContextValidate validate this models create deployment request based on the context it is used

func (*ModelsCreateDeploymentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateDeploymentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateDeploymentRequest) Validate

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

Validate validates this models create deployment request

type ModelsCreateDomainRequest

type ModelsCreateDomainRequest struct {

	// domain
	Domain string `json:"domain,omitempty"`
}

ModelsCreateDomainRequest models create domain request

swagger:model models.CreateDomainRequest

func (*ModelsCreateDomainRequest) ContextValidate

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

ContextValidate validates this models create domain request based on context it is used

func (*ModelsCreateDomainRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateDomainRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateDomainRequest) Validate

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

Validate validates this models create domain request

type ModelsCreateDomainResponse

type ModelsCreateDomainResponse struct {

	// cname
	Cname string `json:"cname,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// txt cname
	TxtCname string `json:"txt_cname,omitempty"`
}

ModelsCreateDomainResponse models create domain response

swagger:model models.CreateDomainResponse

func (*ModelsCreateDomainResponse) ContextValidate

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

ContextValidate validates this models create domain response based on context it is used

func (*ModelsCreateDomainResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateDomainResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateDomainResponse) Validate

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

Validate validates this models create domain response

type ModelsCreateOrganizationInviteRequest

type ModelsCreateOrganizationInviteRequest struct {

	// email
	Email string `json:"email,omitempty"`
}

ModelsCreateOrganizationInviteRequest models create organization invite request

swagger:model models.CreateOrganizationInviteRequest

func (*ModelsCreateOrganizationInviteRequest) ContextValidate

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

ContextValidate validates this models create organization invite request based on context it is used

func (*ModelsCreateOrganizationInviteRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateOrganizationInviteRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateOrganizationInviteRequest) Validate

Validate validates this models create organization invite request

type ModelsCreateOrganizationRequest

type ModelsCreateOrganizationRequest struct {

	// name
	Name string `json:"name,omitempty"`
}

ModelsCreateOrganizationRequest models create organization request

swagger:model models.CreateOrganizationRequest

func (*ModelsCreateOrganizationRequest) ContextValidate

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

ContextValidate validates this models create organization request based on context it is used

func (*ModelsCreateOrganizationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateOrganizationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateOrganizationRequest) Validate

Validate validates this models create organization request

type ModelsDeploymentFunction

type ModelsDeploymentFunction struct {

	// name
	Name string `json:"name,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// tag
	Tag string `json:"tag,omitempty"`
}

ModelsDeploymentFunction models deployment function

swagger:model models.DeploymentFunction

func (*ModelsDeploymentFunction) ContextValidate

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

ContextValidate validates this models deployment function based on context it is used

func (*ModelsDeploymentFunction) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDeploymentFunction) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDeploymentFunction) Validate

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

Validate validates this models deployment function

type ModelsDeploymentResponse

type ModelsDeploymentResponse struct {

	// attached domain
	AttachedDomain []string `json:"attached_domain"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// functions
	Functions []*ModelsFunctionResponse `json:"functions"`

	// identifier
	Identifier string `json:"identifier,omitempty"`

	// root domain
	RootDomain string `json:"root_domain,omitempty"`

	// subdomain
	Subdomain string `json:"subdomain,omitempty"`
}

ModelsDeploymentResponse models deployment response

swagger:model models.DeploymentResponse

func (*ModelsDeploymentResponse) ContextValidate

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

ContextValidate validate this models deployment response based on the context it is used

func (*ModelsDeploymentResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDeploymentResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDeploymentResponse) Validate

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

Validate validates this models deployment response

type ModelsDetachDomainRequest

type ModelsDetachDomainRequest struct {

	// domain
	Domain string `json:"domain,omitempty"`

	// force
	Force bool `json:"force,omitempty"`
}

ModelsDetachDomainRequest models detach domain request

swagger:model models.DetachDomainRequest

func (*ModelsDetachDomainRequest) ContextValidate

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

ContextValidate validates this models detach domain request based on context it is used

func (*ModelsDetachDomainRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDetachDomainRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDetachDomainRequest) Validate

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

Validate validates this models detach domain request

type ModelsDomainResponse

type ModelsDomainResponse struct {

	// cname
	Cname string `json:"cname,omitempty"`

	// deployment
	Deployment *ModelsDeploymentResponse `json:"deployment,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// state
	State ModelsDomainVerificationState `json:"state,omitempty"`

	// txt cname
	TxtCname string `json:"txt_cname,omitempty"`
}

ModelsDomainResponse models domain response

swagger:model models.DomainResponse

func (*ModelsDomainResponse) ContextValidate

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

ContextValidate validate this models domain response based on the context it is used

func (*ModelsDomainResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDomainResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDomainResponse) Validate

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

Validate validates this models domain response

type ModelsDomainVerificationState

type ModelsDomainVerificationState string

ModelsDomainVerificationState models domain verification state

swagger:model models.DomainVerificationState

const (

	// ModelsDomainVerificationStatePending captures enum value "pending"
	ModelsDomainVerificationStatePending ModelsDomainVerificationState = "pending"

	// ModelsDomainVerificationStateIssuing captures enum value "issuing"
	ModelsDomainVerificationStateIssuing ModelsDomainVerificationState = "issuing"

	// ModelsDomainVerificationStateReady captures enum value "ready"
	ModelsDomainVerificationStateReady ModelsDomainVerificationState = "ready"

	// ModelsDomainVerificationStateAttached captures enum value "attached"
	ModelsDomainVerificationStateAttached ModelsDomainVerificationState = "attached"
)

func (ModelsDomainVerificationState) ContextValidate

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

ContextValidate validates this models domain verification state based on context it is used

func (ModelsDomainVerificationState) Pointer

Pointer returns a pointer to a freshly-allocated ModelsDomainVerificationState.

func (ModelsDomainVerificationState) Validate

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

Validate validates this models domain verification state

type ModelsFunctionResponse

type ModelsFunctionResponse struct {

	// hash
	Hash string `json:"hash,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// public
	Public bool `json:"public,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`

	// tag
	Tag string `json:"tag,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ModelsFunctionResponse models function response

swagger:model models.FunctionResponse

func (*ModelsFunctionResponse) ContextValidate

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

ContextValidate validates this models function response based on context it is used

func (*ModelsFunctionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsFunctionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsFunctionResponse) Validate

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

Validate validates this models function response

type ModelsGetAPIKeyResponse

type ModelsGetAPIKeyResponse struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`
}

ModelsGetAPIKeyResponse models get API key response

swagger:model models.GetAPIKeyResponse

func (*ModelsGetAPIKeyResponse) ContextValidate

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

ContextValidate validates this models get API key response based on context it is used

func (*ModelsGetAPIKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetAPIKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetAPIKeyResponse) Validate

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

Validate validates this models get API key response

type ModelsGetFunctionResponse

type ModelsGetFunctionResponse struct {

	// function
	Function *ModelsFunctionResponse `json:"function,omitempty"`

	// presigned url
	PresignedURL string `json:"presigned_url,omitempty"`
}

ModelsGetFunctionResponse models get function response

swagger:model models.GetFunctionResponse

func (*ModelsGetFunctionResponse) ContextValidate

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

ContextValidate validate this models get function response based on the context it is used

func (*ModelsGetFunctionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetFunctionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetFunctionResponse) Validate

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

Validate validates this models get function response

type ModelsHealthResponse

type ModelsHealthResponse struct {

	// database
	Database bool `json:"database,omitempty"`
}

ModelsHealthResponse models health response

swagger:model models.HealthResponse

func (*ModelsHealthResponse) ContextValidate

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

ContextValidate validates this models health response based on context it is used

func (*ModelsHealthResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsHealthResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsHealthResponse) Validate

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

Validate validates this models health response

type ModelsOrganizationInviteResponse

type ModelsOrganizationInviteResponse struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// declined
	Declined bool `json:"declined,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`
}

ModelsOrganizationInviteResponse models organization invite response

swagger:model models.OrganizationInviteResponse

func (*ModelsOrganizationInviteResponse) ContextValidate

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

ContextValidate validates this models organization invite response based on context it is used

func (*ModelsOrganizationInviteResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsOrganizationInviteResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsOrganizationInviteResponse) Validate

Validate validates this models organization invite response

type ModelsOrganizationResponse

type ModelsOrganizationResponse struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// default
	Default bool `json:"default,omitempty"`

	// id
	ID string `json:"id,omitempty"`
}

ModelsOrganizationResponse models organization response

swagger:model models.OrganizationResponse

func (*ModelsOrganizationResponse) ContextValidate

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

ContextValidate validates this models organization response based on context it is used

func (*ModelsOrganizationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsOrganizationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsOrganizationResponse) Validate

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

Validate validates this models organization response

type ModelsSignatureResponse

type ModelsSignatureResponse struct {

	// context
	Context string `json:"context,omitempty"`

	// golang import path guest
	GolangImportPathGuest string `json:"golang_import_path_guest,omitempty"`

	// golang import path host
	GolangImportPathHost string `json:"golang_import_path_host,omitempty"`

	// golang registry
	GolangRegistry string `json:"golang_registry,omitempty"`

	// hash
	Hash string `json:"hash,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// public
	Public bool `json:"public,omitempty"`

	// rust import path guest
	RustImportPathGuest string `json:"rust_import_path_guest,omitempty"`

	// rust registry
	RustRegistry string `json:"rust_registry,omitempty"`

	// schema
	Schema string `json:"schema,omitempty"`

	// tag
	Tag string `json:"tag,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ModelsSignatureResponse models signature response

swagger:model models.SignatureResponse

func (*ModelsSignatureResponse) ContextValidate

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

ContextValidate validates this models signature response based on context it is used

func (*ModelsSignatureResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsSignatureResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsSignatureResponse) Validate

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

Validate validates this models signature response

type ModelsUserInfoResponse

type ModelsUserInfoResponse struct {

	// email
	Email string `json:"email,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// organizations
	Organizations []string `json:"organizations"`
}

ModelsUserInfoResponse models user info response

swagger:model models.UserInfoResponse

func (*ModelsUserInfoResponse) ContextValidate

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

ContextValidate validates this models user info response based on context it is used

func (*ModelsUserInfoResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUserInfoResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserInfoResponse) Validate

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

Validate validates this models user info response

Jump to

Keyboard shortcuts

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