GithubHelp home page GithubHelp logo

maksim77 / ycf Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 69 KB

Gradle plugin for Yandex Cloud Functions

License: Apache License 2.0

Java 100.00%
gradle-plugin yandex-cloud yandex-cloud-functions serverless

ycf's Introduction

ycf

Gradle plugin for Yandex Cloud Functions

Configuration

Full configuration example with comments

plugins {
    id 'java'
    id 'ru.mak_sim.ycf' version '0.5'
}

ycf {
    // Required parameter
    token = "${yc_oauth_token}" // OAuth token
    function_id = "d4e1antsi3gvon0hn7kv" // ID of the function to create a version for
    entrypoint = "ru.mak_sim.ya_func.Handler" // Entrypoint of the version.

    // Parameters with default values
    memory = 134217728 // Amount of memory available to the version, specified in bytes
    runtime = "java11" // Runtime environment for the version
    
    // Optional parameters with examples
    execution_timeout = 30 // Timeout for the execution of the version, specified in seconds
    environment = [key1: "1", key2: "2"] // Environment settings for the version
    tags = ["iddqd","idkfa"] // Function version tags
}

Tasks

  • ycfList โ€“ List yandex cloud functions, for all clouds available for specified OAuth token.
  • ycfCreateVersion - Create new yandex cloud function version.

ycf's People

Contributors

maksim77 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.