ArgumentsBuilderExtension Class

Summary

Arguments builder
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ArgumentsBuilderExtension"] class Type type-node

Syntax

public static class ArgumentsBuilderExtension

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Methods

Name Value Summary
AppendAll<TSettings>(ProcessArgumentBuilder, string, TSettings, string[]) void
Appends all arguments from settings and arguments.
static
AppendArguments<TSettings>(ProcessArgumentBuilder, TSettings, bool) void
Appends pre or post command arguments.
static
ConvertTimeSpan(TimeSpan) string
static
GetArgumentFromAutoProperty(AutoPropertyAttribute, PropertyInfo, object) string
Uses format specified in attribute to format the argument.
static
GetArgumentFromBoolProperty(PropertyInfo, bool) string
static
GetArgumentFromDictionaryProperty(PropertyInfo, Dictionary<string, string>) IEnumerable<string>
static
GetArgumentFromNullableBoolProperty(PropertyInfo, Nullable<bool>) string
static
GetArgumentFromNullableInt64Property(PropertyInfo, Nullable<long>) string
static
GetArgumentFromNullableIntProperty(PropertyInfo, Nullable<int>) string
static
GetArgumentFromNullableTimeSpanProperty(PropertyInfo, Nullable<TimeSpan>) string
static
GetArgumentFromNullableUInt16Property(PropertyInfo, Nullable<ushort>) string
static
GetArgumentFromNullableUInt64Property(PropertyInfo, Nullable<ulong>) string
static
GetArgumentFromProperty<TSettings>(PropertyInfo, TSettings, bool) IEnumerable<string>
Gets and processes property value from settings.
static
GetArgumentFromStringArrayProperty(PropertyInfo, string[]) IEnumerable<string>
static
GetArgumentFromStringProperty(PropertyInfo, string) string
static
GetAutoPropertyAttributeOrNull(PropertyInfo) AutoPropertyAttribute
Retrieve AutoPropertyAttribute from property or null if there isn't one.
static
GetPropertyName(string) string
Converts property name to Kubectl arguments format
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin