Documentation ¶
Overview ¶
Package cmd ... Copyright © 2020 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package cmd ... Copyright © 2020 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Version defines the application version (defined at compile time) Version = "" // Commit defines the application commit hash (defined at compile time) Commit = "" // TMVersion defines the tendermint commit hash (defined at compile time) TMVersion = "" )
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewLightRoot ¶
func NewLightRoot(sh tmtypes.SignedHeader) []byte
NewLightRoot returns a new light root
Types ¶
type Binary ¶
type Binary struct { Name string `json:"name"` Repo string `json:"repo"` Build string `json:"build"` Version string `json:"version"` }
Binary is everything you need to build the binary for the network from the repo configured
type Config ¶
type Config struct { RPCAddr string `json:"rpc-addr" yaml:"rpc-addr"` ChainID string `json:"chain-id" yaml:"chain-id"` BuildRepo string `json:"build-repo" yaml:"build-repo"` BuildCommand string `json:"build-command" yaml:"build-command"` BinaryName string `json:"binary-name" yaml:"binary-name"` BuildVersion string `json:"build-version" yaml:"build-version"` GithubAccessToken string `json:"github-access-token" yaml:"github-access-token"` RegistryRepo string `json:"registry-repo" yaml:"registry-repo"` RegistryRepoBranch string `json:"registry-repo-branch" yaml:"registry-repo-branch"` GitName string `json:"git-name" yaml:"git-name"` GitEmail string `json:"git-email" yaml:"git-email"` CommitMessage string `json:"commit-message" yaml:"commit-message"` }
Config represents the configuration for the given application