Skip to content

Latest commit

 

History

History
122 lines (71 loc) · 1.33 KB

File metadata and controls

122 lines (71 loc) · 1.33 KB

secret

Install

jb install github.com/crdsonnet/drone-libsonnet@master

Usage

local drone = import "github.com/crdsonnet/drone-libsonnet";

drone.secret.<attribute>

Index

Fields

fn new

new(name, path, key)

PARAMETERS:

  • name (string)
  • path (string)
  • key (string)

new is a shorthand for creating a new secret object

fn withData

withData(value)

PARAMETERS:

  • value (string)

fn withGet

withGet(value)

PARAMETERS:

  • value (object)

fn withGetMixin

withGetMixin(value)

PARAMETERS:

  • value (object)

fn withKind

withKind()

fn withName

withName(value)

PARAMETERS:

  • value (string)

obj get

fn get.withName

get.withName(value)

PARAMETERS:

  • value (string)

fn get.withPath

get.withPath(value)

PARAMETERS:

  • value (string)