Documentation ¶
Index ¶
- func ResourceTypeConversion(resource string) string
- type AuthError
- type AuthSuccess
- type CanaryRelease
- type Metadata
- type Named
- type RestClient
- func (s *RestClient) Apply(resourceName string, name string, source string, sourceType string, ...) (bool, error)
- func (s *RestClient) Create(resourceName string, name string, source string, sourceType string, ...) (bool, error)
- func (s *RestClient) Delete(resourceName string, name string, values map[string]string) (bool, error)
- func (s *RestClient) Get(resourceName string, name string, outputFormat string, ...) (string, error)
- func (s *RestClient) List(resourceName string, outputFormat string, values map[string]string, ...) (string, error)
- func (s *RestClient) Login(username string, password string) (string, error)
- func (s *RestClient) Update(resourceName string, name string, source string, sourceType string, ...) (bool, error)
- type Route
- type VampService
- type Weight
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceTypeConversion ¶
This is added for user friendliness. If a user uses a plural name or misses an underscore, api will still able to work
Types ¶
type AuthSuccess ¶
type CanaryRelease ¶
type RestClient ¶
type RestClient struct {
// contains filtered or unexported fields
}
func NewRestClient ¶
func NewRestClient(url string, token string, isDebug bool, cert string) *RestClient
type VampService ¶
Click to show internal directories.
Click to hide internal directories.