Class ServiceEntry
ServiceEntry enables adding additional entries into Istio’s internal service registry.
Namespace: Neon.Kube.Resources.Istio
Assembly: Neon.Kube.Resources.dll
Syntax
[KubernetesEntity(Group = "networking.istio.io", Kind = "ServiceEntry", ApiVersion = "v1beta1", PluralName = "serviceentries")]
[Ignore]
public class ServiceEntry
Constructors
ServiceEntry()
Initializes a new instance of the ServiceEntry class.
Declaration
public ServiceEntry()
Fields
KubeApiVersion
The API version this Kubernetes type belongs to.
Declaration
public const string KubeApiVersion = "v1beta1"
Field Value
Type | Description |
---|---|
string |
KubeGroup
The Group this Kubernetes type belongs to.
Declaration
public const string KubeGroup = "networking.istio.io"
Field Value
Type | Description |
---|---|
string |
KubeKind
The Kubernetes named schema this object is based on.
Declaration
public const string KubeKind = "ServiceEntry"
Field Value
Type | Description |
---|---|
string |
KubePlural
The plural name of the entity.
Declaration
public const string KubePlural = "serviceentries"
Field Value
Type | Description |
---|---|
string |
Properties
ApiVersion
Gets or sets APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Declaration
[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Gets or sets kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Declaration
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Gets or sets standard object metadata.
Declaration
[JsonProperty(PropertyName = "metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
Type | Description |
---|---|
V1ObjectMeta |
Spec
Gets or sets specification of the desired behavior of the ServiceEntry.
Declaration
[JsonProperty(PropertyName = "spec")]
public V1ServiceEntrySpec Spec { get; set; }
Property Value
Type | Description |
---|---|
V1ServiceEntrySpec |
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate()
Exceptions
Type | Condition |
---|---|
ValidationException | Thrown if validation fails. |