models

package
v0.0.0-...-6e054f3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Id                string    `json:"id" example:"d40ba550f05b252da60e5b873c32204368ecb5b9e17ea123738d318be4e5295b" binding:"required"`
	Name              string    `json:"name,omitempty" example:"web"`
	CreationTimestamp time.Time `json:"creationTimestamp,omitempty" example:"2023-01-31T08:00:00Z"`
	LastKnown         time.Time `json:"lastKnown,omitempty" example:"2023-01-31T08:00:00Z"`
}

type InventoryResponse

type InventoryResponse struct {
	Replicas []Replica `json:"replicas"`
}

InventoryResponse response

type Replica

type Replica struct {
	Name              string      `json:"name" example:"web-7db5f9c99b-nwn2w" binding:"required"`
	CreationTimestamp time.Time   `json:"creationTimestamp,omitempty" example:"2023-01-31T08:00:00Z"`
	LastKnown         time.Time   `json:"lastKnown,omitempty" example:"2023-01-31T08:00:00Z"`
	Containers        []Container `json:"containers"`
}

Jump to

Keyboard shortcuts

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