v1beta1

package
v0.7.28 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package v1beta1 provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Package v1beta1 provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ModelSchemaVersion      = "models.meshery.io/v1beta1"
	DesignSchemaVersion     = "designs.meshery.io/v1beta1"
	ComponentSchemaVersion  = "components.meshery.io/v1beta1"
	ConnectionSchemaVersion = "connections.meshery.io/v1beta1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	ID        externalRef2.EnvironmentId `db:"id" json:"id"`
	CreatedAt externalRef2.Time          `json:"created_at,omitempty"`

	// DeletedAt SQL null Timestamp to handle null values of time.
	DeletedAt      externalRef2.NullTime       `json:"deleted_at,omitempty"`
	Description    externalRef2.Text           `json:"description,omitempty"`
	Name           externalRef2.Text           `json:"name,omitempty"`
	OrganizationId externalRef2.OrganizationId `db:"org_id" json:"org_id"`
	Owner          externalRef2.Text           `json:"owner,omitempty"`
	UpdatedAt      externalRef2.Time           `json:"updated_at,omitempty"`
}

Environment defines model for environment.

type EnvironmentConnectionMapping

type EnvironmentConnectionMapping struct {
	ID           externalRef2.EnvironmentId `db:"id" json:"id"`
	ConnectionId uuid.UUID                  `db:"connection_id" json:"connection_id"`
	CreatedAt    externalRef2.Time          `json:"created_at,omitempty"`

	// DeletedAt SQL null Timestamp to handle null values of time.
	DeletedAt     externalRef2.NullTime `json:"deleted_at,omitempty"`
	EnvironmentId uuid.UUID             `db:"environment_id" json:"environment_id"`
	UpdatedAt     externalRef2.Time     `json:"updated_at,omitempty"`
}

EnvironmentConnectionMapping defines model for environmentConnectionMapping.

type EnvironmentPage

type EnvironmentPage struct {
	Environments []Environment       `json:"environments,omitempty"`
	Page         externalRef2.Number `json:"page,omitempty"`
	PageSize     externalRef2.Number `json:"page_size,omitempty"`
	TotalCount   externalRef2.Number `json:"total_count,omitempty"`
}

EnvironmentPage defines model for environmentPage.

type EnvironmentPayload

type EnvironmentPayload struct {
	// OrgId Organization ID
	OrgId       string            `json:"organization_id"`
	Description externalRef2.Text `json:"description,omitempty"`
	Name        externalRef2.Text `json:"name"`
}

EnvironmentPayload defines model for environmentPayload.

type Workspace added in v0.7.14

type Workspace struct {
	ID        externalRef2.GeneralId `db:"id" json:"id"`
	CreatedAt externalRef2.Time      `json:"created_at,omitempty"`

	// DeletedAt SQL null Timestamp to handle null values of time.
	DeletedAt      externalRef2.NullTime       `json:"deleted_at,omitempty"`
	Description    externalRef2.Text           `json:"description,omitempty"`
	Name           externalRef2.Text           `json:"name,omitempty"`
	OrganizationId externalRef2.OrganizationId `db:"org_id" json:"org_id"`
	Owner          externalRef2.Text           `json:"owner,omitempty"`
	UpdatedAt      externalRef2.Time           `json:"updated_at,omitempty"`
}

Workspace defines model for workspace.

type WorkspacePage added in v0.7.14

type WorkspacePage struct {
	Page       externalRef2.Number `json:"page,omitempty"`
	PageSize   externalRef2.Number `json:"page_size,omitempty"`
	TotalCount externalRef2.Number `json:"total_count,omitempty"`
	Workspaces []Workspace         `json:"workspaces,omitempty"`
}

WorkspacePage defines model for workspacePage.

type WorkspacePayload added in v0.7.14

type WorkspacePayload struct {
	Description externalRef2.Text `json:"description,omitempty"`
	Name        externalRef2.Text `json:"name"`

	// OrganizationID Organization ID
	OrganizationID string `json:"organization_id"`
}

WorkspacePayload defines model for workspacePayload.

type WorkspaceUpdatePayload added in v0.7.14

type WorkspaceUpdatePayload struct {
	Description externalRef2.Text `json:"description,omitempty"`
	Name        externalRef2.Text `json:"name,omitempty"`

	// OrganizationID Organization ID
	OrganizationID string `json:"organization_id"`
}

WorkspaceUpdatePayload defines model for workspaceUpdatePayload.

type WorkspacesDesignsMapping added in v0.7.14

type WorkspacesDesignsMapping struct {
	ID          externalRef2.GeneralId   `db:"id" json:"id"`
	CreatedAt   externalRef2.Time        `json:"created_at,omitempty"`
	DeletedAt   externalRef2.NullTime    `json:"deleted_at,omitempty"`
	DesignId    externalRef2.DesignId    `db:"design_id" json:"design_id"`
	UpdatedAt   externalRef2.Time        `json:"updated_at,omitempty"`
	WorkspaceId externalRef2.WorkspaceId `db:"workspace_id" json:"workspace_id"`
}

WorkspacesDesignsMapping defines model for workspacesDesignsMapping.

type WorkspacesEnvironmentsMapping added in v0.7.14

type WorkspacesEnvironmentsMapping struct {
	ID            externalRef2.GeneralId     `db:"id" json:"id"`
	CreatedAt     externalRef2.Time          `json:"created_at,omitempty"`
	DeletedAt     externalRef2.NullTime      `json:"deleted_at,omitempty"`
	EnvironmentId externalRef2.EnvironmentId `db:"environment_id" json:"environment_id"`
	UpdatedAt     externalRef2.Time          `json:"updated_at,omitempty"`
	WorkspaceId   externalRef2.WorkspaceId   `db:"workspace_id" json:"workspace_id"`
}

WorkspacesEnvironmentsMapping defines model for workspacesEnvironmentsMapping.

type WorkspacesTeamsMapping added in v0.7.14

type WorkspacesTeamsMapping struct {
	ID          externalRef2.GeneralId   `db:"id" json:"id"`
	CreatedAt   externalRef2.Time        `json:"created_at,omitempty"`
	DeletedAt   externalRef2.NullTime    `json:"deleted_at,omitempty"`
	TeamId      externalRef2.TeamId      `db:"team_id" json:"team_id"`
	UpdatedAt   externalRef2.Time        `json:"updated_at,omitempty"`
	WorkspaceId externalRef2.WorkspaceId `db:"workspace_id" json:"workspace_id"`
}

WorkspacesTeamsMapping defines model for workspacesTeamsMapping.

type WorkspacesViewsMapping added in v0.7.14

type WorkspacesViewsMapping struct {
	ID          externalRef2.GeneralId   `db:"id" json:"id"`
	CreatedAt   externalRef2.Time        `json:"created_at,omitempty"`
	DeletedAt   externalRef2.NullTime    `json:"deleted_at,omitempty"`
	UpdatedAt   externalRef2.Time        `json:"updated_at,omitempty"`
	ViewId      externalRef2.ViewId      `db:"view_id" json:"view_id"`
	WorkspaceId externalRef2.WorkspaceId `db:"workspace_id" json:"workspace_id"`
}

WorkspacesViewsMapping defines model for workspacesViewsMapping.

Directories

Path Synopsis
Package category provides primitives to interact with the openapi HTTP API.
Package category provides primitives to interact with the openapi HTTP API.
Package component provides primitives to interact with the openapi HTTP API.
Package component provides primitives to interact with the openapi HTTP API.
The file implements the Entity interface on the Connection struct.
The file implements the Entity interface on the Connection struct.
Package model provides primitives to interact with the openapi HTTP API.
Package model provides primitives to interact with the openapi HTTP API.
Package pattern provides primitives to interact with the openapi HTTP API.
Package pattern provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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