Interface Probe.ExecActionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Probe.ExecAction, Probe.ExecAction.Builder
Enclosing class:
Probe

public static interface Probe.ExecActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getCommand(int index)
    Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
    com.google.protobuf.ByteString
    getCommandBytes(int index)
    Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
    int
    Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.
    Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getCommandList

      List<String> getCommandList()
       Command is the command line to execute inside the container, the working
       directory for the command is root ('/') in the container's filesystem.
       The command is simply exec'd, it is not run inside a shell, so
       traditional shell instructions ('|', etc) won't work. To use a shell, you
       need to explicitly call out to that shell. Exit status of 0 is treated as
       live/healthy and non-zero is unhealthy.
       
      repeated string command = 1;
      Returns:
      A list containing the command.
    • getCommandCount

      int getCommandCount()
       Command is the command line to execute inside the container, the working
       directory for the command is root ('/') in the container's filesystem.
       The command is simply exec'd, it is not run inside a shell, so
       traditional shell instructions ('|', etc) won't work. To use a shell, you
       need to explicitly call out to that shell. Exit status of 0 is treated as
       live/healthy and non-zero is unhealthy.
       
      repeated string command = 1;
      Returns:
      The count of command.
    • getCommand

      String getCommand(int index)
       Command is the command line to execute inside the container, the working
       directory for the command is root ('/') in the container's filesystem.
       The command is simply exec'd, it is not run inside a shell, so
       traditional shell instructions ('|', etc) won't work. To use a shell, you
       need to explicitly call out to that shell. Exit status of 0 is treated as
       live/healthy and non-zero is unhealthy.
       
      repeated string command = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The command at the given index.
    • getCommandBytes

      com.google.protobuf.ByteString getCommandBytes(int index)
       Command is the command line to execute inside the container, the working
       directory for the command is root ('/') in the container's filesystem.
       The command is simply exec'd, it is not run inside a shell, so
       traditional shell instructions ('|', etc) won't work. To use a shell, you
       need to explicitly call out to that shell. Exit status of 0 is treated as
       live/healthy and non-zero is unhealthy.
       
      repeated string command = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the command at the given index.