Directories ¶
Path | Synopsis |
---|---|
container
|
|
crypto
|
|
ssh
Package ssh provides a GOlang library for copying files and running commands over SSH ## Example “`go package main import ( "github.com/appscode/go/crypto/ssh" "log" "os" ) func main() { signer, err := ssh.MakePrivateKeySignerFromFile(os.ExpandEnv("$HOME/.ssh/id_rsa")) if err != nil { log.Fatal(err) } sout, serr, code, err := sshtools.Exec("ls -l /", "root", "<addr>:<port>", signer) log.Println(sout, serr, code, err) } “` ## Acknowledgement This library is based on code from: - https://github.com/kubernetes/kubernetes/tree/master/pkg/ssh - https://github.com/YuriyNasretdinov/GoSSHa
|
Package ssh provides a GOlang library for copying files and running commands over SSH ## Example “`go package main import ( "github.com/appscode/go/crypto/ssh" "log" "os" ) func main() { signer, err := ssh.MakePrivateKeySignerFromFile(os.ExpandEnv("$HOME/.ssh/id_rsa")) if err != nil { log.Fatal(err) } sout, serr, code, err := sshtools.Exec("ls -l /", "root", "<addr>:<port>", signer) log.Println(sout, serr, code, err) } “` ## Acknowledgement This library is based on code from: - https://github.com/kubernetes/kubernetes/tree/master/pkg/ssh - https://github.com/YuriyNasretdinov/GoSSHa |
encoding
|
|
j2/types
Package types provides a collection of Golang types with JSON marshaling support
|
Package types provides a collection of Golang types with JSON marshaling support |
json/types
Package types provides a collection of Golang types with JSON marshaling support
|
Package types provides a collection of Golang types with JSON marshaling support |
MIT License * * Copyright (c) 2017 Roland Singer [roland.singer@desertbit.com] * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software.
|
MIT License * * Copyright (c) 2017 Roland Singer [roland.singer@desertbit.com] * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. |
httpclient
Package httpclient provides a simple Golang Client for JSON Http Microservices Acknowledgement: - [DigitalOcean Go client](https://github.com/digitalocean/godo/blob/master/godo.go) - [OVH Go client](https://github.com/ovh/go-ovh/blob/master/ovh/ovh.go)
|
Package httpclient provides a simple Golang Client for JSON Http Microservices Acknowledgement: - [DigitalOcean Go client](https://github.com/digitalocean/godo/blob/master/godo.go) - [OVH Go client](https://github.com/ovh/go-ovh/blob/master/ovh/ovh.go) |
Package sets has auto-generated set types.
|
Package sets has auto-generated set types. |
types
Package types just provides input types to the set generator.
|
Package types just provides input types to the set generator. |
GOlang value <--> pointer ##Acknowledgements This repo was started as a fork of https://github.com/aws/aws-sdk-go/blob/master/aws/convert_types.go
|
GOlang value <--> pointer ##Acknowledgements This repo was started as a fork of https://github.com/aws/aws-sdk-go/blob/master/aws/convert_types.go |
util
|
|
Package wait provides tools for polling or listening for changes to a condition.
|
Package wait provides tools for polling or listening for changes to a condition. |
Click to show internal directories.
Click to hide internal directories.