api

package
v0.0.0-...-8f6ea6c Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessForResponse

type AccessForResponse struct {
	access_object.ConnectionInformation `json:"connection" binding:"required"`
	EndDate                             *time.Time `json:"endAt,omitempty"`
}

type AccessPermissionsResponse

type AccessPermissionsResponse struct {
	AccessPermissions      []string `json:"permissions" binding:"required"`
	AccessPermissionsCount int      `json:"permissionsCount" binding:"required"`
}

type AccessResponse

type AccessResponse struct {
	Access AccessForResponse `json:"access" binding:"required"`
}

type ProviderForResponse

type ProviderForResponse struct {
	Name        string   `json:"name" binding:"required"`
	Version     string   `json:"version" binding:"required"`
	Description string   `json:"description"`
	Type        string   `json:"type" binding:"required"`
	Images      []string `json:"images"`

	CatalogRegistered int        `json:"catalogSyncStatus" binding:"required"`
	CreatedAt         *time.Time `json:"createdAt" binding:"required"`
	UpdatedAt         *time.Time `json:"updatedAt" binding:"required"`
	RegisteredAt      *time.Time `json:"registeredAt,omitempty"`
	UnregisteredAt    *time.Time `json:"unregisteredAt,omitempty"`
}

type ProviderResponse

type ProviderResponse struct {
	Provider ProviderForResponse `json:"provider" binding:"required"`
}

type ResourceForResponse

type ResourceForResponse struct {
	Name     string `json:"name" binding:"required"`
	Category string `json:"category,omitempty"`
}

type ResourcesResponse

type ResourcesResponse struct {
	Resources      []ResourceForResponse `json:"resources" binding:"required"`
	ResourcesCount int                   `json:"resourcesCount" binding:"required"`
}

type ScopeForResponse

type ScopeForResponse struct {
	Id string `json:"id" binding:"required"`

	Name        string                `json:"name" binding:"required"`
	Description string                `json:"description"`
	Resources   []ResourceForResponse `json:"resources" binding:"required"`
	Permissions []string              `json:"permissions" binding:"required"`

	CreatedAt *time.Time `json:"createdAt" binding:"required"`
	UpdatedAt *time.Time `json:"updatedAt" binding:"required"`
}

type ScopesResponse

type ScopesResponse struct {
	Scopes      []ScopeForResponse `json:"scopes" binding:"required"`
	ScopesCount int                `json:"scopesCount" binding:"required"`
}

Jump to

Keyboard shortcuts

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