models

package

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

Source Files

Jump to

Keyboard shortcuts

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