Interface ResourceManifestOrBuilder (1.46.0)

public interface ResourceManifestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterScoped()

public abstract boolean getClusterScoped()

Whether the resource provided in the manifest is cluster_scoped. If unset, the manifest is assumed to be namespace scoped.

This field is used for REST mapping when applying the resource in a cluster.

bool cluster_scoped = 2;

Returns
Type Description
boolean

The clusterScoped.

getManifest()

public abstract String getManifest()

YAML manifest of the resource.

string manifest = 1;

Returns
Type Description
String

The manifest.

getManifestBytes()

public abstract ByteString getManifestBytes()

YAML manifest of the resource.

string manifest = 1;

Returns
Type Description
ByteString

The bytes for manifest.