Documentation ¶
Overview ¶
Code generated by chronogen; DO NOT EDIT
Code generated by chronogen; DO NOT EDIT
Code generated by chronogen; DO NOT EDIT
Code generated by chronogen; DO NOT EDIT
Code generated by chronogen; DO NOT EDIT
Code generated by chronogen; DO NOT EDIT
Index ¶
- Constants
- Variables
- func AddCommandsTo(root *cobra.Command)
- func ApplyMappings() ...
- func DeleteDashboard(ctx context.Context, client config_unstable.ClientService, slug string) error
- func DeleteLinkTemplate(ctx context.Context, client config_unstable.ClientService, slug string) error
- func DeleteSavedTraceSearch(ctx context.Context, client config_unstable.ClientService, slug string) error
- func DeleteService(ctx context.Context, client config_unstable.ClientService, slug string) error
- func DeleteTraceTailSamplingRules(ctx context.Context, client config_unstable.ClientService) error
- func ListDashboards(ctx context.Context, client config_unstable.ClientService, ...) (pagination.Token, error)
- func ListLinkTemplates(ctx context.Context, client config_unstable.ClientService, ...) (pagination.Token, error)
- func ListSavedTraceSearches(ctx context.Context, client config_unstable.ClientService, ...) (pagination.Token, error)
- func ListServices(ctx context.Context, client config_unstable.ClientService, ...) (pagination.Token, error)
- func NewDashboardCmd() *cobra.Command
- func NewLinkTemplateCmd() *cobra.Command
- func NewSavedTraceSearchCmd() *cobra.Command
- func NewServiceCmd() *cobra.Command
- func NewTraceTailSamplingRulesCmd() *cobra.Command
- type Dashboard
- func CreateDashboard(ctx context.Context, client config_unstable.ClientService, entity *Dashboard, ...) (*Dashboard, error)
- func GetDashboard(ctx context.Context, client config_unstable.ClientService, slug string) (*Dashboard, error)
- func NewDashboard(spec *models.ConfigunstableDashboard) *Dashboard
- func UpdateDashboard(ctx context.Context, client config_unstable.ClientService, entity *Dashboard, ...) (*Dashboard, error)
- type DashboardListOpts
- type LinkTemplate
- func CreateLinkTemplate(ctx context.Context, client config_unstable.ClientService, ...) (*LinkTemplate, error)
- func GetLinkTemplate(ctx context.Context, client config_unstable.ClientService, slug string) (*LinkTemplate, error)
- func NewLinkTemplate(spec *models.ConfigunstableLinkTemplate) *LinkTemplate
- func UpdateLinkTemplate(ctx context.Context, client config_unstable.ClientService, ...) (*LinkTemplate, error)
- type LinkTemplateListOpts
- type SavedTraceSearch
- func CreateSavedTraceSearch(ctx context.Context, client config_unstable.ClientService, ...) (*SavedTraceSearch, error)
- func GetSavedTraceSearch(ctx context.Context, client config_unstable.ClientService, slug string) (*SavedTraceSearch, error)
- func NewSavedTraceSearch(spec *models.ConfigunstableSavedTraceSearch) *SavedTraceSearch
- func UpdateSavedTraceSearch(ctx context.Context, client config_unstable.ClientService, ...) (*SavedTraceSearch, error)
- type SavedTraceSearchListOpts
- type Service
- func CreateService(ctx context.Context, client config_unstable.ClientService, entity *Service, ...) (*Service, error)
- func GetService(ctx context.Context, client config_unstable.ClientService, slug string) (*Service, error)
- func NewService(spec *models.ConfigunstableService) *Service
- func UpdateService(ctx context.Context, client config_unstable.ClientService, entity *Service, ...) (*Service, error)
- type ServiceListOpts
- type TraceTailSamplingRules
- func CreateTraceTailSamplingRules(ctx context.Context, client config_unstable.ClientService, ...) (*TraceTailSamplingRules, error)
- func GetTraceTailSamplingRules(ctx context.Context, client config_unstable.ClientService) (*TraceTailSamplingRules, error)
- func NewTraceTailSamplingRules(spec *models.ConfigunstableTraceTailSamplingRules) *TraceTailSamplingRules
- func UpdateTraceTailSamplingRules(ctx context.Context, client config_unstable.ClientService, ...) (*TraceTailSamplingRules, error)
- type UpdateOptions
Constants ¶
View Source
const DashboardScaffoldYAML = `` /* 505-byte string literal not displayed */
View Source
const LinkTemplateScaffoldYAML = `` /* 364-byte string literal not displayed */
View Source
const SavedTraceSearchScaffoldYAML = `` /* 8327-byte string literal not displayed */
View Source
const ServiceScaffoldYAML = `` /* 921-byte string literal not displayed */
View Source
const TraceTailSamplingRulesScaffoldYAML = `` /* 4244-byte string literal not displayed */
Variables ¶
View Source
var DashboardTypeMeta = types.TypeMeta{
APIVersion: "unstable/config",
Kind: "Dashboard",
}
View Source
var LinkTemplateTypeMeta = types.TypeMeta{
APIVersion: "unstable/config",
Kind: "LinkTemplate",
}
View Source
var SavedTraceSearchTypeMeta = types.TypeMeta{
APIVersion: "unstable/config",
Kind: "SavedTraceSearch",
}
View Source
var ServiceTypeMeta = types.TypeMeta{
APIVersion: "unstable/config",
Kind: "Service",
}
View Source
var TraceTailSamplingRulesTypeMeta = types.TypeMeta{
APIVersion: "unstable/config",
Kind: "TraceTailSamplingRules",
}
Functions ¶
func AddCommandsTo ¶
AddCommandsTo adds all entity subcommands to the given root command.
func ApplyMappings ¶
func DeleteDashboard ¶
func DeleteDashboard( ctx context.Context, client config_unstable.ClientService, slug string, ) error
func DeleteLinkTemplate ¶
func DeleteLinkTemplate( ctx context.Context, client config_unstable.ClientService, slug string, ) error
func DeleteSavedTraceSearch ¶
func DeleteSavedTraceSearch( ctx context.Context, client config_unstable.ClientService, slug string, ) error
func DeleteService ¶
func DeleteService( ctx context.Context, client config_unstable.ClientService, slug string, ) error
func DeleteTraceTailSamplingRules ¶
func DeleteTraceTailSamplingRules( ctx context.Context, client config_unstable.ClientService, ) error
func ListDashboards ¶
func ListDashboards( ctx context.Context, client config_unstable.ClientService, streamer output.Streamer[*Dashboard], opts DashboardListOpts, ) (pagination.Token, error)
func ListLinkTemplates ¶
func ListLinkTemplates( ctx context.Context, client config_unstable.ClientService, streamer output.Streamer[*LinkTemplate], opts LinkTemplateListOpts, ) (pagination.Token, error)
func ListSavedTraceSearches ¶
func ListSavedTraceSearches( ctx context.Context, client config_unstable.ClientService, streamer output.Streamer[*SavedTraceSearch], opts SavedTraceSearchListOpts, ) (pagination.Token, error)
func ListServices ¶
func ListServices( ctx context.Context, client config_unstable.ClientService, streamer output.Streamer[*Service], opts ServiceListOpts, ) (pagination.Token, error)
func NewDashboardCmd ¶
func NewLinkTemplateCmd ¶
func NewSavedTraceSearchCmd ¶
func NewServiceCmd ¶
Types ¶
type Dashboard ¶
type Dashboard struct { types.TypeMeta `json:",inline"` Spec *models.ConfigunstableDashboard `json:"spec"` }
func CreateDashboard ¶
func CreateDashboard( ctx context.Context, client config_unstable.ClientService, entity *Dashboard, dryRun bool, ) (*Dashboard, error)
func GetDashboard ¶
func GetDashboard( ctx context.Context, client config_unstable.ClientService, slug string, ) (*Dashboard, error)
func NewDashboard ¶
func NewDashboard(spec *models.ConfigunstableDashboard) *Dashboard
func UpdateDashboard ¶
func UpdateDashboard( ctx context.Context, client config_unstable.ClientService, entity *Dashboard, opts UpdateOptions, ) (*Dashboard, error)
func (*Dashboard) Description ¶
func (*Dashboard) Identifier ¶
type DashboardListOpts ¶
type DashboardListOpts struct { // Limit represents that maximum number of items we wish to return. Limit int // PageToken is the pagination token we want to start our request at. PageToken string // PageMaxSize is the maximum page size to use when making List calls. PageMaxSize int CollectionSlugs []string IncludeDashboardJSON bool Names []string Slugs []string }
type LinkTemplate ¶
type LinkTemplate struct { types.TypeMeta `json:",inline"` Spec *models.ConfigunstableLinkTemplate `json:"spec"` }
func CreateLinkTemplate ¶
func CreateLinkTemplate( ctx context.Context, client config_unstable.ClientService, entity *LinkTemplate, dryRun bool, ) (*LinkTemplate, error)
func GetLinkTemplate ¶
func GetLinkTemplate( ctx context.Context, client config_unstable.ClientService, slug string, ) (*LinkTemplate, error)
func NewLinkTemplate ¶
func NewLinkTemplate(spec *models.ConfigunstableLinkTemplate) *LinkTemplate
func UpdateLinkTemplate ¶
func UpdateLinkTemplate( ctx context.Context, client config_unstable.ClientService, entity *LinkTemplate, opts UpdateOptions, ) (*LinkTemplate, error)
func (*LinkTemplate) Description ¶
func (e *LinkTemplate) Description() string
func (*LinkTemplate) Identifier ¶
func (e *LinkTemplate) Identifier() string
type LinkTemplateListOpts ¶
type LinkTemplateListOpts struct { // Limit represents that maximum number of items we wish to return. Limit int // PageToken is the pagination token we want to start our request at. PageToken string // PageMaxSize is the maximum page size to use when making List calls. PageMaxSize int Names []string Slugs []string UIComponents []string }
type SavedTraceSearch ¶
type SavedTraceSearch struct { types.TypeMeta `json:",inline"` Spec *models.ConfigunstableSavedTraceSearch `json:"spec"` }
func CreateSavedTraceSearch ¶
func CreateSavedTraceSearch( ctx context.Context, client config_unstable.ClientService, entity *SavedTraceSearch, dryRun bool, ) (*SavedTraceSearch, error)
func GetSavedTraceSearch ¶
func GetSavedTraceSearch( ctx context.Context, client config_unstable.ClientService, slug string, ) (*SavedTraceSearch, error)
func NewSavedTraceSearch ¶
func NewSavedTraceSearch(spec *models.ConfigunstableSavedTraceSearch) *SavedTraceSearch
func UpdateSavedTraceSearch ¶
func UpdateSavedTraceSearch( ctx context.Context, client config_unstable.ClientService, entity *SavedTraceSearch, opts UpdateOptions, ) (*SavedTraceSearch, error)
func (*SavedTraceSearch) Description ¶
func (e *SavedTraceSearch) Description() string
func (*SavedTraceSearch) Identifier ¶
func (e *SavedTraceSearch) Identifier() string
type SavedTraceSearchListOpts ¶
type SavedTraceSearchListOpts struct { // Limit represents that maximum number of items we wish to return. Limit int // PageToken is the pagination token we want to start our request at. PageToken string // PageMaxSize is the maximum page size to use when making List calls. PageMaxSize int CreatedBy string Names []string Slugs []string }
type Service ¶
type Service struct { types.TypeMeta `json:",inline"` Spec *models.ConfigunstableService `json:"spec"` }
func CreateService ¶
func CreateService( ctx context.Context, client config_unstable.ClientService, entity *Service, dryRun bool, ) (*Service, error)
func GetService ¶
func GetService( ctx context.Context, client config_unstable.ClientService, slug string, ) (*Service, error)
func NewService ¶
func NewService(spec *models.ConfigunstableService) *Service
func UpdateService ¶
func UpdateService( ctx context.Context, client config_unstable.ClientService, entity *Service, opts UpdateOptions, ) (*Service, error)
func (*Service) Description ¶
func (*Service) Identifier ¶
type ServiceListOpts ¶
type ServiceListOpts struct { // Limit represents that maximum number of items we wish to return. Limit int // PageToken is the pagination token we want to start our request at. PageToken string // PageMaxSize is the maximum page size to use when making List calls. PageMaxSize int Names []string NotificationPolicySlugs []string Slugs []string TeamSlugs []string }
type TraceTailSamplingRules ¶
type TraceTailSamplingRules struct { types.TypeMeta `json:",inline"` Spec *models.ConfigunstableTraceTailSamplingRules `json:"spec"` }
func CreateTraceTailSamplingRules ¶
func CreateTraceTailSamplingRules( ctx context.Context, client config_unstable.ClientService, entity *TraceTailSamplingRules, dryRun bool, ) (*TraceTailSamplingRules, error)
func GetTraceTailSamplingRules ¶
func GetTraceTailSamplingRules( ctx context.Context, client config_unstable.ClientService, ) (*TraceTailSamplingRules, error)
func NewTraceTailSamplingRules ¶
func NewTraceTailSamplingRules(spec *models.ConfigunstableTraceTailSamplingRules) *TraceTailSamplingRules
func UpdateTraceTailSamplingRules ¶
func UpdateTraceTailSamplingRules( ctx context.Context, client config_unstable.ClientService, entity *TraceTailSamplingRules, opts UpdateOptions, ) (*TraceTailSamplingRules, error)
func (*TraceTailSamplingRules) Description ¶
func (e *TraceTailSamplingRules) Description() string
func (*TraceTailSamplingRules) Identifier ¶
func (e *TraceTailSamplingRules) Identifier() string
type UpdateOptions ¶
UpdateOptions represents the request level options for update.
Click to show internal directories.
Click to hide internal directories.