models

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMetadata

type BaseMetadata struct {
	Namespace Namespace `json:"namespace"`
	App       string    `json:"appruntime" validate:"required"`
}

type IstioNetworkingConfig

type IstioNetworkingConfig struct {
	BaseMetadata

	VirtualService  *istionetworking.VirtualService  `json:"virtualService,omitempty"`
	Gateway         *istionetworking.Gateway         `json:"gateway,omitempty"`
	DestinationRule *istionetworking.DestinationRule `json:"destinationRule,omitempty"`
	ServiceEntry    *istionetworking.ServiceEntry    `json:"serviceEntry,omitempty"`
}

type Namespace

type Namespace struct {
	// The id of the namespace.
	//
	// example:  istio-system
	// required: true
	Name string `json:"name"`

	// Creation date of the namespace.
	// There is no need to export this through the API. So, this is
	// set to be ignored by JSON package.
	//
	// required: true
	CreationTimestamp time.Time `json:"-"`
}

A Namespace provide a scope for names This type is used to describe a set of objects.

swagger:model namespace

Jump to

Keyboard shortcuts

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