fix docfx (#1656)
* fix: update file references and clean up validation comments in models * chore: add symlink to CONTRIBUTING.md for easier access * fix: update documentation to include full type names for WebSocket and Predicate * fix: include CONTRIBUTING.md in docfx.json build content
This commit is contained in:
1
doc/CONTRIBUTING.md
Symbolic link
1
doc/CONTRIBUTING.md
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../CONTRIBUTING.md
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
"src": [
|
"src": [
|
||||||
{
|
{
|
||||||
"files": [
|
"files": [
|
||||||
"KubernetesClient/KubernetesClient.csproj"
|
"KubernetesClient/bin/Release/net8.0/KubernetesClient.dll"
|
||||||
],
|
],
|
||||||
"src": "../src"
|
"src": "../src"
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"api/**.yml",
|
"api/**.yml",
|
||||||
"index.md",
|
"index.md",
|
||||||
|
"CONTRIBUTING.md",
|
||||||
"toc.yml"
|
"toc.yml"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ namespace k8s
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// The <see cref="IStreamDemuxer"/> interface allows you to interact with processes running in a container in a Kubernetes pod. You can start an exec or attach command
|
/// The <see cref="IStreamDemuxer"/> interface allows you to interact with processes running in a container in a Kubernetes pod. You can start an exec or attach command
|
||||||
/// by calling <see cref="Kubernetes.WebSocketNamespacedPodExecAsync(string, string, IEnumerable{string}, string, bool, bool, bool, bool, Dictionary{string, List{string}}, CancellationToken)"/>
|
/// by calling <see cref="Kubernetes.WebSocketNamespacedPodExecAsync(string, string, IEnumerable{string}, string, bool, bool, bool, bool, string, Dictionary{string, List{string}}, CancellationToken)"/>
|
||||||
/// or <see cref="Kubernetes.WebSocketNamespacedPodAttachAsync(string, string, string, bool, bool, bool, bool, Dictionary{string, List{string}}, CancellationToken)"/>. These methods
|
/// or <see cref="Kubernetes.WebSocketNamespacedPodAttachAsync(string, string, string, bool, bool, bool, bool, string, Dictionary{string, List{string}}, CancellationToken)"/>. These methods
|
||||||
/// will return you a <see cref="WebSocket"/> connection.
|
/// will return you a <see cref="System.Net.WebSockets.WebSocket"/> connection.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// Kubernetes 'multiplexes' multiple channels over this <see cref="WebSocket"/> connection, such as standard input, standard output and standard error. The <see cref="StreamDemuxer"/>
|
/// Kubernetes 'multiplexes' multiple channels over this <see cref="System.Net.WebSockets.WebSocket"/> connection, such as standard input, standard output and standard error. The <see cref="StreamDemuxer"/>
|
||||||
/// allows you to extract individual <see cref="Stream"/>s from this <see cref="WebSocket"/> class. You can then use these streams to send/receive data from that process.
|
/// allows you to extract individual <see cref="Stream"/>s from this <see cref="System.Net.WebSockets.WebSocket"/>. You can then use these streams to send/receive data from that process.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IStreamDemuxer : IDisposable
|
public interface IStreamDemuxer : IDisposable
|
||||||
|
|||||||
@@ -44,9 +44,6 @@ namespace k8s.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Validate the object.
|
/// Validate the object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="ValidationException">
|
|
||||||
/// Thrown if validation fails
|
|
||||||
/// </exception>
|
|
||||||
public void Validate()
|
public void Validate()
|
||||||
{
|
{
|
||||||
if (Items == null)
|
if (Items == null)
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ namespace k8s.Models
|
|||||||
/// reference could be found.
|
/// reference could be found.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">the object meta<see cref="V1ObjectMeta"/></param>
|
/// <param name="obj">the object meta<see cref="V1ObjectMeta"/></param>
|
||||||
/// <param name="predicate">a <see cref="Predicate"/> to test owner reference</param>
|
/// <param name="predicate">a <see cref="System.Predicate{V1OwnerReference}"/> to test owner reference</param>
|
||||||
/// <returns>the index of the <see cref="V1OwnerReference"/> that matches the given object, or -1 if no such
|
/// <returns>the index of the <see cref="V1OwnerReference"/> that matches the given object, or -1 if no such
|
||||||
/// reference could be found.</returns>
|
/// reference could be found.</returns>
|
||||||
public static int FindOwnerReference(this IMetadata<V1ObjectMeta> obj, Predicate<V1OwnerReference> predicate)
|
public static int FindOwnerReference(this IMetadata<V1ObjectMeta> obj, Predicate<V1OwnerReference> predicate)
|
||||||
@@ -300,7 +300,7 @@ namespace k8s.Models
|
|||||||
|
|
||||||
/// <summary>Gets the <see cref="V1OwnerReference"/> that matches the given predicate, or null if no matching reference exists.</summary>
|
/// <summary>Gets the <see cref="V1OwnerReference"/> that matches the given predicate, or null if no matching reference exists.</summary>
|
||||||
/// <param name="obj">the object meta<see cref="V1ObjectMeta"/></param>
|
/// <param name="obj">the object meta<see cref="V1ObjectMeta"/></param>
|
||||||
/// <param name="predicate">a <see cref="Predicate"/> to test owner reference</param>
|
/// <param name="predicate">a <see cref="System.Predicate{V1OwnerReference}"/> to test owner reference</param>
|
||||||
/// <returns>the <see cref="V1OwnerReference"/> that matches the given object, or null if no matching reference exists.</returns>
|
/// <returns>the <see cref="V1OwnerReference"/> that matches the given object, or null if no matching reference exists.</returns>
|
||||||
public static V1OwnerReference GetOwnerReference(
|
public static V1OwnerReference GetOwnerReference(
|
||||||
this IMetadata<V1ObjectMeta> obj,
|
this IMetadata<V1ObjectMeta> obj,
|
||||||
@@ -400,7 +400,7 @@ namespace k8s.Models
|
|||||||
/// any were removed.
|
/// any were removed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="obj">the object meta<see cref="V1ObjectMeta"/></param>
|
/// <param name="obj">the object meta<see cref="V1ObjectMeta"/></param>
|
||||||
/// <param name="predicate">a <see cref="Predicate"/> to test owner reference</param>
|
/// <param name="predicate">a <see cref="System.Predicate{V1OwnerReference}"/> to test owner reference</param>
|
||||||
/// <returns>true if any were removed</returns>
|
/// <returns>true if any were removed</returns>
|
||||||
public static bool RemoveOwnerReferences(
|
public static bool RemoveOwnerReferences(
|
||||||
this IMetadata<V1ObjectMeta> obj,
|
this IMetadata<V1ObjectMeta> obj,
|
||||||
|
|||||||
@@ -7,13 +7,13 @@ namespace k8s
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// The <see cref="StreamDemuxer"/> allows you to interact with processes running in a container in a Kubernetes pod. You can start an exec or attach command
|
/// The <see cref="StreamDemuxer"/> allows you to interact with processes running in a container in a Kubernetes pod. You can start an exec or attach command
|
||||||
/// by calling <see cref="Kubernetes.WebSocketNamespacedPodExecAsync(string, string, IEnumerable{string}, string, bool, bool, bool, bool, Dictionary{string, List{string}}, CancellationToken)"/>
|
/// by calling <see cref="Kubernetes.WebSocketNamespacedPodExecAsync(string, string, IEnumerable{string}, string, bool, bool, bool, bool, string, Dictionary{string, List{string}}, CancellationToken)"/>
|
||||||
/// or <see cref="Kubernetes.WebSocketNamespacedPodAttachAsync(string, string, string, bool, bool, bool, bool, Dictionary{string, List{string}}, CancellationToken)"/>. These methods
|
/// or <see cref="Kubernetes.WebSocketNamespacedPodAttachAsync(string, string, string, bool, bool, bool, bool, string, Dictionary{string, List{string}}, CancellationToken)"/>. These methods
|
||||||
/// will return you a <see cref="WebSocket"/> connection.
|
/// will return you a <see cref="System.Net.WebSockets.WebSocket"/> connection.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// Kubernetes 'multiplexes' multiple channels over this <see cref="WebSocket"/> connection, such as standard input, standard output and standard error. The <see cref="StreamDemuxer"/>
|
/// Kubernetes 'multiplexes' multiple channels over this <see cref="System.Net.WebSockets.WebSocket"/> connection, such as standard input, standard output and standard error. The <see cref="StreamDemuxer"/>
|
||||||
/// allows you to extract individual <see cref="Stream"/>s from this <see cref="WebSocket"/> class. You can then use these streams to send/receive data from that process.
|
/// allows you to extract individual <see cref="Stream"/>s from this <see cref="System.Net.WebSockets.WebSocket"/>. You can then use these streams to send/receive data from that process.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class StreamDemuxer : IStreamDemuxer
|
public class StreamDemuxer : IStreamDemuxer
|
||||||
|
|||||||
@@ -61,9 +61,7 @@ namespace k8s.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Validate the object.
|
/// Validate the object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="ValidationException">
|
|
||||||
/// Thrown if validation fails
|
|
||||||
/// </exception>
|
|
||||||
public virtual void Validate()
|
public virtual void Validate()
|
||||||
{
|
{
|
||||||
{{ for property in properties }}
|
{{ for property in properties }}
|
||||||
|
|||||||
Reference in New Issue
Block a user