Documentation
¶
Index ¶
- Constants
- type AMP
- func (a *AMP) Connect() *grpc.ClientConn
- func (a *AMP) Create()
- func (a *AMP) Disconnect()
- func (a *AMP) GetAuthorizedContext() (ctx context.Context, err error)
- func (a *AMP) GithubOauth(username, password, otp string) (lastEight, name string, err error)
- func (a *AMP) Start()
- func (a *AMP) Status()
- func (a *AMP) Stop()
- func (a *AMP) Update()
- func (a *AMP) Verbose() bool
- type Configuration
Constants ¶
View Source
const (
//DefaultServerAddress amplifier address + port default
DefaultServerAddress = "localhost:50101"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMP ¶
type AMP struct {
// Config contains all the configuration settings that were loaded
Configuration *Configuration
Conn *grpc.ClientConn
}
AMP holds the state for the current environment
func (*AMP) GetAuthorizedContext ¶
GetAuthorizedContext returns an authorized context
func (*AMP) GithubOauth ¶
GithubOauth does an rpc call to login via github
Click to show internal directories.
Click to hide internal directories.