Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayClient ¶
type GatewayClient struct {
// Generate Gate Api client.
*gate.APIClient
// Spin CLI configuration.
Config config.Config
// Context for OAuth2 access token.
Context context.Context
// contains filtered or unexported fields
}
GatewayClient is the wrapper with authentication
func NewGateClient ¶
func NewGateClient(flags *pflag.FlagSet) (*GatewayClient, error)
Create new spinnaker gateway client with flag
func (*GatewayClient) GateEndpoint ¶
func (m *GatewayClient) GateEndpoint() string
Click to show internal directories.
Click to hide internal directories.