Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

knative: Add knative package #107

Open
wants to merge 9 commits into
base: anthos-support
Choose a base branch
from
Open

knative: Add knative package #107

wants to merge 9 commits into from

Conversation

gvso
Copy link
Contributor

@gvso gvso commented Aug 20, 2020

This adds a knative package and moves the run package inside it. The package declares an interface representing a Knative Provider, which the cloudrun package implements.

Getulio Valentin Sánchez added 5 commits August 25, 2020 12:50
This adds a knative package and moves the run package inside it. The package
declares an interface representing a Knative Provider, which the cloudrun
package implements.

Signed-off-by: Getulio Valentin Sánchez <[email protected]>
Signed-off-by: Getulio Valentin Sánchez <[email protected]>
Signed-off-by: Getulio Valentin Sánchez <[email protected]>
Signed-off-by: Getulio Valentin Sánchez <[email protected]>
@gvso gvso changed the base branch from main to anthos-support August 25, 2020 16:51
Getulio Valentin Sánchez added 3 commits August 25, 2020 12:58
Signed-off-by: Getulio Valentin Sánchez <[email protected]>
Signed-off-by: Getulio Valentin Sánchez <[email protected]>
Signed-off-by: Getulio Valentin Sánchez <[email protected]>
Comment on lines 28 to 32
// regions are the available regions.
//
// TODO: caching regions might be unnecessary if we are querying them once during
// the lifespan of the process.
var regions = []string{}
Copy link
Contributor

@ahmetb ahmetb Aug 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fullyManagedRegionsCache

}

// ServicesWithLabelSelector gets services filtered by a label selector.
func (p *Provider) ServicesWithLabelSelector(namespace string, labelSelector string) ([]*run.Service, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simpler name like ListServices

Signed-off-by: Getulio Valentin Sánchez <[email protected]>
@gvso gvso linked an issue Aug 26, 2020 that may be closed by this pull request
@ahmetb
Copy link
Contributor

ahmetb commented Aug 26, 2020

cc: @grayside if you have time, would be great to take a look at this.
we're trying to abstract the Run API implementations to support Cloud Run for Anthos + Cloud Run (fully managed) at the same time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Cloud Run for Anthos
2 participants