Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::BinaryAuthorization.
Configuration for Binary Authorization.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enabled
def enabled() -> ::Boolean
Returns
- (::Boolean) — Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Binary Authorization.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Binary Authorization.
Returns
- (::Boolean) — Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Binary Authorization.
#evaluation_mode
def evaluation_mode() -> ::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode
Returns
- (::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. Currently the only options are equivalent to enable/disable. If unspecified, defaults to DISABLED.
#evaluation_mode=
def evaluation_mode=(value) -> ::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode
Parameter
- value (::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. Currently the only options are equivalent to enable/disable. If unspecified, defaults to DISABLED.
Returns
- (::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. Currently the only options are equivalent to enable/disable. If unspecified, defaults to DISABLED.