Nic Cope
80bef4534c
Don't generate credentials secret getters and setters
...
We don't expect these to be consistent across all providers. Currently _most_
providers require a credentials secret. The AWS provider does not, because it
supports using a different method (i.e. IRSA) that does not require a secret.
In practice we don't use these getters and setters anywhere where we couldn't
just type assert resource.ProviderConfig to the specific type we're dealing
with.
Signed-off-by: Nic Cope <negz@rk0n.org>
2020-10-05 18:21:57 -07:00
Nic Cope
7e3c332522
Generate method sets for provider configs and usages
...
Signed-off-by: Nic Cope <negz@rk0n.org>
2020-10-01 00:44:36 -07:00
Nic Cope
c3e0bb5c1a
Don't generate methods pertaining to classes and claims
...
See https://github.com/crossplane/crossplane/issues/1670 for context.
Signed-off-by: Nic Cope <negz@rk0n.org>
2020-09-20 18:12:53 -07:00
Muvaffak Onus
2c5cc52b33
Add Get/Set methods for ProviderConfigReference
...
Signed-off-by: Muvaffak Onus <onus.muvaffak@gmail.com>
2020-08-24 16:24:03 +03:00
Nic Cope
da38fc6e95
Generate deletion policy getters and setters for managed resources.
...
Signed-off-by: Nic Cope <negz@rk0n.org>
2020-08-11 18:42:59 -07:00
hasheddan
1fbc3bb506
Update Provider reference methods to use runtime Reference
...
This updates the generated provider reference methods to use the
non-pointer Reference type instead of a core.ObjectReference pointer.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-29 08:54:39 -05:00
Nic Cope
b2cd5941d9
Generate a GetItems method for list types
...
This allows us to define interfaces that represent a list of managed resources,
list of resource claims, etc.
Signed-off-by: Nic Cope <negz@rk0n.org>
2020-04-12 01:58:56 -07:00
Muvaffak Onus
45cefccb87
Managed resources should implement ProviderReferencer interface
...
Signed-off-by: Muvaffak Onus <onus.muvaffak@gmail.com>
2020-03-02 17:33:56 +03:00
hasheddan
a229350c95
Update go mod and refs with crossplane org name
...
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-02-18 17:28:36 -06:00
Nic Cope
61fa1eff2a
Merge pull request #7 from negz/notsoclassy
...
Support simple resource class selection
2019-10-23 14:57:26 -07:00
soorena776
0167f47dec
adding `GetCondition` method to Managed resource types
...
Signed-off-by: soorena776 <javad@upbound.io>
2019-10-22 11:47:48 -07:00
Nic Cope
2b71a22e7f
Revert "Adding `GetCondition` method to the managed resource methodsets"
...
Signed-off-by: Nic Cope <negz@rk0n.org>
2019-10-18 15:58:23 -07:00
soorena776
92e0f14dce
adding `GetCondition` method to Managed resource types
...
Signed-off-by: soorena776 <javad@upbound.io>
2019-10-18 14:05:03 -07:00
Nic Cope
b4b9ced5eb
Support simple resource class selection
...
https://github.com/crossplaneio/crossplane/pull/926
https://github.com/crossplaneio/crossplane/pull/927
https://github.com/crossplaneio/crossplane-runtime/pull/48
Updates angryjet to reflect the above changes.
Signed-off-by: Nic Cope <negz@rk0n.org>
2019-10-17 15:50:10 -07:00
Nic Cope
f23cf34602
Bikeshed the angryjet API a little
...
Signed-off-by: Nic Cope <negz@rk0n.org>
2019-10-03 19:32:49 -07:00