Google Cloud Container V1 Client - Class CustomNodeInit (2.9.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class CustomNodeInit.

Support for running custom init code while bootstrapping nodes.

Generated from protobuf message google.container.v1.LinuxNodeConfig.CustomNodeInit

Namespace

Google \ Cloud \ Container \ V1 \ LinuxNodeConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ init_script CustomNodeInit\InitScript

Optional. The init script to be executed on the node.

getInitScript

Optional. The init script to be executed on the node.

Returns
Type Description
CustomNodeInit\InitScript|null

hasInitScript

clearInitScript

setInitScript

Optional. The init script to be executed on the node.

Parameter
Name Description
var CustomNodeInit\InitScript
Returns
Type Description
$this