go-cfclient icon indicating copy to clipboard operation
go-cfclient copied to clipboard

Create/Push app feature support

Open vshelvankar opened this issue 7 years ago • 5 comments

Hi Team,

We are looking for Create/Push app feature support in the cfclient. Any plans of supporting it with an ETA. Does anyone has picked this up to proceed with. If not we are interested to contribute on this and use for our project.

vshelvankar avatar Dec 13 '17 15:12 vshelvankar

I don't think that might be a good idea. There's alot of calls it takes to do this I would just recommend scripting around cli

On Dec 13, 2017 10:31 AM, "vshelvankar" [email protected] wrote:

Hi Team,

We are looking for Create/Push app feature support in the cfclient. Any plans of supporting it with an ETA. Does anyone has picked this up to proceed with. If not we are interested to contribute on this and use for our project.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudfoundry-community/go-cfclient/issues/160, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4rDKhO-mmtZNKdXKWeCaeEXU9hnYGjks5s_-3EgaJpZM4RAuWQ .

lnguyen avatar Dec 13 '17 16:12 lnguyen

Thanks lnguyen for the comment,

We have a use case where we want to run an app in a binary_buildpack but do not have an option of cf cli installed. I wanted to push few apps dynamically and using a client. JAVA's CF Client has these feature and looks a valid case to have it here for those who wants to do these operations without cli installed.

vshelvankar avatar Dec 14 '17 10:12 vshelvankar

Also i believe the purpose of SDKs or language specific Clients are to provide the interfaces to perform all operations incase the user do not want to use the REST/CLI directly

vshelvankar avatar Dec 14 '17 10:12 vshelvankar

@vshelvankar

Also i believe the purpose of SDKs or language specific Clients are to provide the interfaces to perform all operations incase the user do not want to use the REST/CLI directly

I totally agree.

cappyzawa avatar Feb 06 '18 14:02 cappyzawa

I've implemented cf push like functionality using the primitives in this library. I'm sure others have as well. Unfortunately we'd likely never match exactly what the CF CLI does under the covers. The CLI does a surprising amount of work "just to push" an app. Having said that, I think it's a good idea and avoids other from having to reinvent the wheel or install the CLI.

sneal avatar Mar 23 '21 02:03 sneal

A new PushAppOperation was added in the v3 client.

sneal avatar Nov 16 '22 05:11 sneal