ArgoProjectSpec class

Constructors

ArgoProjectSpec({List<ArgoGroupKind> clusterResourceWhitelist = const [], String? description, List<ArgoDestination> destinations = const [], List<String> sourceRepos = const []})
Returns a new ArgoProjectSpec instance.

Properties

clusterResourceWhitelist ↔ List<ArgoGroupKind>
ClusterResourceWhitelist are the cluster-scoped kinds it may create — {group:\"*\", kind:\"*\"} on a synthesized project.
getter/setter pair
description ↔ String?
Description is the project's human label: the IAM project's display name, or its description when it has no display name. Absent when IAM carries neither.
getter/setter pair
destinations ↔ List<ArgoDestination>
Destinations are the cluster/namespace pairs it may write to — a single {server:"", namespace:""} on a synthesized project, for the same reason.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceRepos ↔ List<String>
SourceRepos are the git repos applications in this project may pull from. \"*\" for every project this plane synthesizes or reflects from IAM: the boundary that actually holds on this platform is the IAM org, resolved before a row is ever projected, so the projected fence is deliberately permissive and is NOT an authorization statement.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → ArgoProjectSpec?
Returns a new ArgoProjectSpec instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ArgoProjectSpec>
mapFromJson(dynamic json) → Map<String, ArgoProjectSpec>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ArgoProjectSpec>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.