Documentation ¶
Index ¶
- Variables
- func GetField(item interface{}, field string) string
- func Log(cmd *cobra.Command, args []string)
- func Login(cmd *cobra.Command, args []string)
- func NewAppCmd() *cobra.Command
- func NewSecretCmd() *cobra.Command
- func NewServiceCmd() *cobra.Command
- func PrintVersion(cmd *cobra.Command, args []string)
- func Run() error
- func SyncFlags(cmd *cobra.Command, args []string, i interface{})
- type ApiResources
- type AppHandler
- func (h *AppHandler) Create(cmd *cobra.Command, args []string, createApp *koyeb.CreateApp) error
- func (h *AppHandler) Current(cmd *cobra.Command, args []string) error
- func (h *AppHandler) Delete(cmd *cobra.Command, args []string) error
- func (h *AppHandler) Describe(cmd *cobra.Command, args []string) error
- func (h *AppHandler) Get(cmd *cobra.Command, args []string) error
- func (h *AppHandler) List(cmd *cobra.Command, args []string) error
- func (h *AppHandler) Switch(cmd *cobra.Command, args []string) error
- func (h *AppHandler) Update(cmd *cobra.Command, args []string, updateApp *koyeb.UpdateApp) error
- type CommonErrorInterface
- type CommonErrorWithFieldInterface
- type GetAppReply
- type GetSecretReply
- type GetServiceReply
- type GetServiceRevisionReply
- type ListAppsReply
- type ListSecretsReply
- type ListServiceRevisionsReply
- type ListServicesReply
- type SecretHandler
- func (h *SecretHandler) Create(cmd *cobra.Command, args []string, createSecret *koyeb.CreateSecret) error
- func (h *SecretHandler) Delete(cmd *cobra.Command, args []string) error
- func (h *SecretHandler) Describe(cmd *cobra.Command, args []string) error
- func (h *SecretHandler) Get(cmd *cobra.Command, args []string) error
- func (h *SecretHandler) List(cmd *cobra.Command, args []string) error
- func (h *SecretHandler) Update(cmd *cobra.Command, args []string, updateSecret *koyeb.Secret) error
- type ServiceHandler
- func (h *ServiceHandler) Create(cmd *cobra.Command, args []string, createService *koyeb.CreateService) error
- func (h *ServiceHandler) Delete(cmd *cobra.Command, args []string) error
- func (h *ServiceHandler) Describe(cmd *cobra.Command, args []string) error
- func (h *ServiceHandler) Get(cmd *cobra.Command, args []string) error
- func (h *ServiceHandler) List(cmd *cobra.Command, args []string) error
- func (h *ServiceHandler) ReDeploy(cmd *cobra.Command, args []string) error
- func (h *ServiceHandler) Update(cmd *cobra.Command, args []string, updateService *koyeb.UpdateService) error
- type TableInfo
- type UpdateApiResources
- type WithTitle
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "develop" BuildDate = "-" Commit = "-" )
Functions ¶
func NewSecretCmd ¶ added in v1.3.0
func NewServiceCmd ¶ added in v1.3.0
func PrintVersion ¶
Types ¶
type ApiResources ¶
type AppHandler ¶ added in v1.3.0
type AppHandler struct { }
func NewAppHandler ¶ added in v1.3.0
func NewAppHandler() *AppHandler
func (*AppHandler) Current ¶ added in v1.3.0
func (h *AppHandler) Current(cmd *cobra.Command, args []string) error
func (*AppHandler) Delete ¶ added in v1.3.0
func (h *AppHandler) Delete(cmd *cobra.Command, args []string) error
func (*AppHandler) Describe ¶ added in v1.3.0
func (h *AppHandler) Describe(cmd *cobra.Command, args []string) error
func (*AppHandler) Get ¶ added in v1.3.0
func (h *AppHandler) Get(cmd *cobra.Command, args []string) error
func (*AppHandler) List ¶ added in v1.3.0
func (h *AppHandler) List(cmd *cobra.Command, args []string) error
type CommonErrorInterface ¶
type CommonErrorInterface interface { }
type CommonErrorWithFieldInterface ¶
type CommonErrorWithFieldInterface interface { }
type GetAppReply ¶ added in v1.3.0
type GetAppReply struct {
koyeb.GetAppReply
}
func (*GetAppReply) Fields ¶ added in v1.3.0
func (a *GetAppReply) Fields() []map[string]string
func (*GetAppReply) Headers ¶ added in v1.3.0
func (a *GetAppReply) Headers() []string
func (*GetAppReply) MarshalBinary ¶ added in v1.3.0
func (a *GetAppReply) MarshalBinary() ([]byte, error)
func (*GetAppReply) Title ¶ added in v1.3.0
func (a *GetAppReply) Title() string
type GetSecretReply ¶ added in v1.3.0
type GetSecretReply struct {
koyeb.GetSecretReply
}
func (*GetSecretReply) Fields ¶ added in v1.3.0
func (a *GetSecretReply) Fields() []map[string]string
func (*GetSecretReply) Headers ¶ added in v1.3.0
func (a *GetSecretReply) Headers() []string
func (*GetSecretReply) MarshalBinary ¶ added in v1.3.0
func (a *GetSecretReply) MarshalBinary() ([]byte, error)
func (*GetSecretReply) Title ¶ added in v1.3.0
func (a *GetSecretReply) Title() string
type GetServiceReply ¶ added in v1.3.0
type GetServiceReply struct {
koyeb.GetServiceReply
}
func (*GetServiceReply) Fields ¶ added in v1.3.0
func (a *GetServiceReply) Fields() []map[string]string
func (*GetServiceReply) Headers ¶ added in v1.3.0
func (a *GetServiceReply) Headers() []string
func (*GetServiceReply) MarshalBinary ¶ added in v1.3.0
func (a *GetServiceReply) MarshalBinary() ([]byte, error)
func (*GetServiceReply) Title ¶ added in v1.3.0
func (a *GetServiceReply) Title() string
type GetServiceRevisionReply ¶ added in v1.3.0
type GetServiceRevisionReply struct {
koyeb.GetServiceRevisionReply
}
func (*GetServiceRevisionReply) Fields ¶ added in v1.3.0
func (a *GetServiceRevisionReply) Fields() []map[string]string
func (*GetServiceRevisionReply) Headers ¶ added in v1.3.0
func (a *GetServiceRevisionReply) Headers() []string
func (*GetServiceRevisionReply) MarshalBinary ¶ added in v1.3.0
func (a *GetServiceRevisionReply) MarshalBinary() ([]byte, error)
func (*GetServiceRevisionReply) Title ¶ added in v1.3.0
func (a *GetServiceRevisionReply) Title() string
type ListAppsReply ¶ added in v1.3.0
type ListAppsReply struct {
koyeb.ListAppsReply
}
func (*ListAppsReply) Fields ¶ added in v1.3.0
func (a *ListAppsReply) Fields() []map[string]string
func (*ListAppsReply) Headers ¶ added in v1.3.0
func (a *ListAppsReply) Headers() []string
func (*ListAppsReply) MarshalBinary ¶ added in v1.3.0
func (a *ListAppsReply) MarshalBinary() ([]byte, error)
func (*ListAppsReply) Title ¶ added in v1.3.0
func (a *ListAppsReply) Title() string
type ListSecretsReply ¶ added in v1.3.0
type ListSecretsReply struct {
koyeb.ListSecretsReply
}
func (*ListSecretsReply) Fields ¶ added in v1.3.0
func (a *ListSecretsReply) Fields() []map[string]string
func (*ListSecretsReply) Headers ¶ added in v1.3.0
func (a *ListSecretsReply) Headers() []string
func (*ListSecretsReply) MarshalBinary ¶ added in v1.3.0
func (a *ListSecretsReply) MarshalBinary() ([]byte, error)
func (*ListSecretsReply) Title ¶ added in v1.3.0
func (a *ListSecretsReply) Title() string
type ListServiceRevisionsReply ¶ added in v1.3.0
type ListServiceRevisionsReply struct {
koyeb.ListServiceRevisionsReply
}
func (*ListServiceRevisionsReply) Fields ¶ added in v1.3.0
func (a *ListServiceRevisionsReply) Fields() []map[string]string
func (*ListServiceRevisionsReply) Headers ¶ added in v1.3.0
func (a *ListServiceRevisionsReply) Headers() []string
func (*ListServiceRevisionsReply) MarshalBinary ¶ added in v1.3.0
func (a *ListServiceRevisionsReply) MarshalBinary() ([]byte, error)
func (*ListServiceRevisionsReply) Title ¶ added in v1.3.0
func (a *ListServiceRevisionsReply) Title() string
type ListServicesReply ¶ added in v1.3.0
type ListServicesReply struct {
koyeb.ListServicesReply
}
func (*ListServicesReply) Fields ¶ added in v1.3.0
func (a *ListServicesReply) Fields() []map[string]string
func (*ListServicesReply) Headers ¶ added in v1.3.0
func (a *ListServicesReply) Headers() []string
func (*ListServicesReply) MarshalBinary ¶ added in v1.3.0
func (a *ListServicesReply) MarshalBinary() ([]byte, error)
func (*ListServicesReply) Title ¶ added in v1.3.0
func (a *ListServicesReply) Title() string
type SecretHandler ¶ added in v1.3.0
type SecretHandler struct { }
func NewSecretHandler ¶ added in v1.3.0
func NewSecretHandler() *SecretHandler
func (*SecretHandler) Create ¶ added in v1.3.0
func (h *SecretHandler) Create(cmd *cobra.Command, args []string, createSecret *koyeb.CreateSecret) error
func (*SecretHandler) Delete ¶ added in v1.3.0
func (h *SecretHandler) Delete(cmd *cobra.Command, args []string) error
func (*SecretHandler) Describe ¶ added in v1.3.0
func (h *SecretHandler) Describe(cmd *cobra.Command, args []string) error
func (*SecretHandler) Get ¶ added in v1.3.0
func (h *SecretHandler) Get(cmd *cobra.Command, args []string) error
type ServiceHandler ¶ added in v1.3.0
type ServiceHandler struct { }
func NewServiceHandler ¶ added in v1.3.0
func NewServiceHandler() *ServiceHandler
func (*ServiceHandler) Create ¶ added in v1.3.0
func (h *ServiceHandler) Create(cmd *cobra.Command, args []string, createService *koyeb.CreateService) error
func (*ServiceHandler) Delete ¶ added in v1.3.0
func (h *ServiceHandler) Delete(cmd *cobra.Command, args []string) error
func (*ServiceHandler) Describe ¶ added in v1.3.0
func (h *ServiceHandler) Describe(cmd *cobra.Command, args []string) error
func (*ServiceHandler) Get ¶ added in v1.3.0
func (h *ServiceHandler) Get(cmd *cobra.Command, args []string) error
func (*ServiceHandler) List ¶ added in v1.3.0
func (h *ServiceHandler) List(cmd *cobra.Command, args []string) error
func (*ServiceHandler) ReDeploy ¶ added in v1.3.0
func (h *ServiceHandler) ReDeploy(cmd *cobra.Command, args []string) error
func (*ServiceHandler) Update ¶ added in v1.3.0
func (h *ServiceHandler) Update(cmd *cobra.Command, args []string, updateService *koyeb.UpdateService) error
type TableInfo ¶ added in v1.1.0
type TableInfo struct {
// contains filtered or unexported fields
}
type UpdateApiResources ¶
type UpdateApiResources interface { New() interface{} Append(interface{}) }
Click to show internal directories.
Click to hide internal directories.