Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionProviderConfigFor ¶
func ConnectionProviderConfigFor(o resource.ConnectionSecretOwner, kind schema.GroupVersionKind) *v1beta1.ProviderConfig
ConnectionProviderConfigFor returns a connectionProvider Config
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
An Publisher publishes ConnectionDetails by submitting a Secret and ProviderConfig to a Kubernetes API server.
func NewProviderConfigPublisher ¶
func NewProviderConfigPublisher(c client.Client, ot runtime.ObjectTyper) *Publisher
NewProviderConfigPublisher returns a new Publisher.
func (*Publisher) PublishConnection ¶
func (pcp *Publisher) PublishConnection(ctx context.Context, mg resource.Managed, c managed.ConnectionDetails) error
PublishConnection publishes the supplied ConnectionDetails to a Secret in the same namespace as the supplied Managed resource. It is a no-op if the secret already exists with the supplied ConnectionDetails.
func (*Publisher) UnpublishConnection ¶
func (pcp *Publisher) UnpublishConnection(ctx context.Context, mg resource.Managed, c managed.ConnectionDetails) error
UnpublishConnection is no-op since PublishConnection only creates resources that will be garbage collected by Kubernetes when the managed resource is deleted.
Click to show internal directories.
Click to hide internal directories.