statusreporter

package
v1.3.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code from here is a potential candidate to add to https://github.com/Azure/azure-extension-platform/blob/main/pkg/status/status.go and have others extensions benefit from it as windows extensions can already delegate code from https://msazure.visualstudio.com/One/_git/Compute-ART-GuestAgentHostPlugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReportStatus

func ReportStatus(putStatusEndpoint string, statusToUpload string) (*http.Response, error)

Types

type GuestInformationServiceClient

type GuestInformationServiceClient struct {
	Endpoint string
}

func NewGuestInformationServiceClient

func NewGuestInformationServiceClient(e string) GuestInformationServiceClient

func (GuestInformationServiceClient) GetEndpoint

func (c GuestInformationServiceClient) GetEndpoint() string

func (GuestInformationServiceClient) ReportStatus

func (c GuestInformationServiceClient) ReportStatus(statusToUpload string) (*http.Response, error)

type IGuestInformationServiceClient

type IGuestInformationServiceClient interface {
	ReportStatus(statusToUpload string) (*http.Response, error)
	GetEndpoint() string
}

type PutStatusRequest

type PutStatusRequest struct {
	Content string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL