Documentation ¶
Index ¶
- func ParseConfiguration()
- type Specification
- func (s *Specification) CreateMaintenanceWindow(_ context.Context, maintenanceWindow types.CreateMaintenanceWindowRequest) (*string, *http.Response, error)
- func (s *Specification) DeleteMaintenanceWindow(_ context.Context, maintenanceWindowId string) (*http.Response, error)
- func (s *Specification) GetApplicationPerspectives(_ context.Context, page int, pageSize int) (*types.ApplicationPerspectiveResponse, error)
- func (s *Specification) GetEvents(_ context.Context, from time.Time, to time.Time, eventTypeFilters []string) ([]types.Event, error)
- func (s *Specification) GetSnapshotIds(_ context.Context, applicationPerspectiveId string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfiguration ¶
func ParseConfiguration()
Types ¶
type Specification ¶
type Specification struct { // The Instana Base Url, like 'https://unit-example.instana.io' BaseUrl string `json:"baseUrl" split_words:"true" required:"true"` // The Instana API Token ApiToken string `json:"apiToken" split_words:"true" required:"true"` }
Specification is the configuration specification for the extension. Configuration values can be applied through environment variables. Learn more through the documentation of the envconfig package. https://github.com/kelseyhightower/envconfig
var (
Config Specification
)
func (*Specification) CreateMaintenanceWindow ¶ added in v1.1.0
func (s *Specification) CreateMaintenanceWindow(_ context.Context, maintenanceWindow types.CreateMaintenanceWindowRequest) (*string, *http.Response, error)
func (*Specification) DeleteMaintenanceWindow ¶ added in v1.1.0
func (*Specification) GetApplicationPerspectives ¶ added in v1.1.0
func (s *Specification) GetApplicationPerspectives(_ context.Context, page int, pageSize int) (*types.ApplicationPerspectiveResponse, error)
func (*Specification) GetSnapshotIds ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.