Reference documentation and code samples for the Config Delivery V1 API class Google::Cloud::ConfigDelivery::V1::FleetPackage.
A FleetPackage
resource in the Config Delivery API.
A FleetPackage
defines a package through which kubernetes
configuration is deployed to a fleet of kubernetes clusters.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
FleetPackage
was created.
#deletion_propagation_policy
def deletion_propagation_policy() -> ::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy
-
(::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy) — Optional. Information around how to handle kubernetes resources at the
target clusters when the
FleetPackage
is deleted.
#deletion_propagation_policy=
def deletion_propagation_policy=(value) -> ::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy
-
value (::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy) — Optional. Information around how to handle kubernetes resources at the
target clusters when the
FleetPackage
is deleted.
-
(::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy) — Optional. Information around how to handle kubernetes resources at the
target clusters when the
FleetPackage
is deleted.
#info
def info() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackageInfo
-
(::Google::Cloud::ConfigDelivery::V1::FleetPackageInfo) — Output only. Information containing the rollout status of the
FleetPackage
across all the target clusters.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. Labels are attributes that can be set and used by both the
user and by Config Delivery. Labels must meet the following constraints:
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
- All characters must use UTF-8 encoding, and international characters are allowed.
- Keys must start with a lowercase letter or international character.
- Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels are attributes that can be set and used by both the
user and by Config Delivery. Labels must meet the following constraints:
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
- All characters must use UTF-8 encoding, and international characters are allowed.
- Keys must start with a lowercase letter or international character.
- Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. Labels are attributes that can be set and used by both the
user and by Config Delivery. Labels must meet the following constraints:
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
- All characters must use UTF-8 encoding, and international characters are allowed.
- Keys must start with a lowercase letter or international character.
- Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
#name
def name() -> ::String
-
(::String) — Identifier. Name of the
FleetPackage
. Format isprojects/{project}/locations/{location}/fleetPackages/{fleetPackage}
. ThefleetPackage
component must match[a-z][a-z0-9\-]{0,62}
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. Name of the
FleetPackage
. Format isprojects/{project}/locations/{location}/fleetPackages/{fleetPackage}
. ThefleetPackage
component must match[a-z][a-z0-9\-]{0,62}
-
(::String) — Identifier. Name of the
FleetPackage
. Format isprojects/{project}/locations/{location}/fleetPackages/{fleetPackage}
. ThefleetPackage
component must match[a-z][a-z0-9\-]{0,62}
#resource_bundle_selector
def resource_bundle_selector() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector
- (::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector) — Required. Information specifying the source of kubernetes configuration to deploy.
#resource_bundle_selector=
def resource_bundle_selector=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector
- value (::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector) — Required. Information specifying the source of kubernetes configuration to deploy.
- (::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector) — Required. Information specifying the source of kubernetes configuration to deploy.
#rollout_strategy
def rollout_strategy() -> ::Google::Cloud::ConfigDelivery::V1::RolloutStrategy
- (::Google::Cloud::ConfigDelivery::V1::RolloutStrategy) — Optional. The strategy to use to deploy kubernetes configuration to clusters.
#rollout_strategy=
def rollout_strategy=(value) -> ::Google::Cloud::ConfigDelivery::V1::RolloutStrategy
- value (::Google::Cloud::ConfigDelivery::V1::RolloutStrategy) — Optional. The strategy to use to deploy kubernetes configuration to clusters.
- (::Google::Cloud::ConfigDelivery::V1::RolloutStrategy) — Optional. The strategy to use to deploy kubernetes configuration to clusters.
#state
def state() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::State
- (::Google::Cloud::ConfigDelivery::V1::FleetPackage::State) — Optional. The desired state of the fleet package.
#state=
def state=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::State
- value (::Google::Cloud::ConfigDelivery::V1::FleetPackage::State) — Optional. The desired state of the fleet package.
- (::Google::Cloud::ConfigDelivery::V1::FleetPackage::State) — Optional. The desired state of the fleet package.
#target
def target() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target
- (::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target) — Optional. Configuration to select target clusters to deploy kubernetes configuration to.
#target=
def target=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target
- value (::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target) — Optional. Configuration to select target clusters to deploy kubernetes configuration to.
- (::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target) — Optional. Configuration to select target clusters to deploy kubernetes configuration to.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Most recent time at which the
FleetPackage
was updated.
#variant_selector
def variant_selector() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector
-
(::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector) — Required. Information specifying how to map a
ResourceBundle
variant to a target cluster.
#variant_selector=
def variant_selector=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector
-
value (::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector) — Required. Information specifying how to map a
ResourceBundle
variant to a target cluster.
-
(::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector) — Required. Information specifying how to map a
ResourceBundle
variant to a target cluster.