Deployement are mainly used with integration testing servers.
github :: DeploymentEvent :: defaultinit
github :: DeploymentEvent :: description
Optional human-readable description added to the deployment.github :: DeploymentEvent :: description=
Optional human-readable description added to the deployment.github :: DeploymentEvent :: environment
Optional environment to deploy to.github :: DeploymentEvent :: environment=
Optional environment to deploy to.github :: DeploymentEvent :: name
Name of repository for this deployment, formatted as :owner/:repo.github :: DeploymentEvent :: name=
Name of repository for this deployment, formatted as :owner/:repo.github :: DeploymentEvent :: payload
Optional extra information for this deployment.github :: DeploymentEvent :: payload=
Optional extra information for this deployment.github :: DeploymentEvent :: sha=
Commit SHA for which this deployment was created.github $ DeploymentEvent :: SELF
Type of this instance, automatically specialized in every classgithub $ DeploymentEvent :: core_serialize_to
Actual serialization ofself
to serializer
github $ DeploymentEvent :: from_deserializer
Create an instance of this class from thedeserializer
serialization :: Serializable :: accept_json_serializer
Refinable service to customize the serialization of this class to JSONserialization :: Serializable :: accept_msgpack_attribute_counter
Hook to customize the behavior of theAttributeCounter
serialization :: Serializable :: accept_msgpack_serializer
Hook to customize the serialization of this class to MessagePackgithub :: GithubEvent :: action=
Action performed by the event.serialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
github :: DeploymentEvent :: defaultinit
github :: GithubEvent :: defaultinit
core :: Object :: defaultinit
github :: DeploymentEvent :: description
Optional human-readable description added to the deployment.github :: DeploymentEvent :: description=
Optional human-readable description added to the deployment.github :: DeploymentEvent :: environment
Optional environment to deploy to.github :: DeploymentEvent :: environment=
Optional environment to deploy to.serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
serialization :: Serializable :: msgpack_extra_array_items
Hook to request a larger than usual metadata arraygithub :: DeploymentEvent :: name
Name of repository for this deployment, formatted as :owner/:repo.github :: DeploymentEvent :: name=
Name of repository for this deployment, formatted as :owner/:repo.core :: Object :: output_class_name
Display class name on stdout (debug only).github :: DeploymentEvent :: payload
Optional extra information for this deployment.github :: DeploymentEvent :: payload=
Optional extra information for this deployment.serialization :: Serializable :: serialize_msgpack
Serializeself
to MessagePack bytes
serialization :: Serializable :: serialize_to
Serializeself
to serializer
serialization :: Serializable :: serialize_to_json
Serializeself
to JSON
github :: DeploymentEvent :: sha=
Commit SHA for which this deployment was created.serialization :: Serializable :: to_pretty_json
Serializeself
to plain pretty JSON
Serializer::serialize
# Triggered when a new snapshot is deployed.
#
# Deployement are mainly used with integration testing servers.
class DeploymentEvent
super GithubEvent
serialize
# Commit SHA for which this deployment was created.
var sha: String is writable
# Name of repository for this deployment, formatted as :owner/:repo.
var name: String is writable
# Optional extra information for this deployment.
var payload: nullable String is writable
# Optional environment to deploy to.
# Default: "production"
var environment: nullable String is writable
# Optional human-readable description added to the deployment.
var description: nullable String is writable
end
lib/github/events.nit:80,1--102,3