manage

package
v0.0.6-GHES.3.14 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateV1ConfigApplyEventsGetResponseFromDiscriminatorValue

CreateV1ConfigApplyEventsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateV1ConfigApplyEventsGetResponse_nodesFromDiscriminatorValue

CreateV1ConfigApplyEventsGetResponse_nodesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateV1ConfigApplyEventsGetResponse_nodes_eventsFromDiscriminatorValue

CreateV1ConfigApplyEventsGetResponse_nodes_eventsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateV1ConfigApplyGetResponseFromDiscriminatorValue

CreateV1ConfigApplyGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateV1ConfigApplyGetResponse_nodesFromDiscriminatorValue

CreateV1ConfigApplyGetResponse_nodesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateV1ConfigApplyPostRequestBodyFromDiscriminatorValue

CreateV1ConfigApplyPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateV1ConfigApplyPostResponseFromDiscriminatorValue

CreateV1ConfigApplyPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateV1ConfigSettingsPutRequestBodyFromDiscriminatorValue

CreateV1ConfigSettingsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type ManageRequestBuilder

ManageRequestBuilder builds and executes requests for operations under \manage

func NewManageRequestBuilder

NewManageRequestBuilder instantiates a new ManageRequestBuilder and sets the default values.

func NewManageRequestBuilderInternal

func NewManageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ManageRequestBuilder

NewManageRequestBuilderInternal instantiates a new ManageRequestBuilder and sets the default values.

func (*ManageRequestBuilder) V1

V1 the v1 property returns a *V1RequestBuilder when successful

type V1AccessRequestBuilder

V1AccessRequestBuilder builds and executes requests for operations under \manage\v1\access

func NewV1AccessRequestBuilder

NewV1AccessRequestBuilder instantiates a new V1AccessRequestBuilder and sets the default values.

func NewV1AccessRequestBuilderInternal

func NewV1AccessRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1AccessRequestBuilder

NewV1AccessRequestBuilderInternal instantiates a new V1AccessRequestBuilder and sets the default values.

func (*V1AccessRequestBuilder) Ssh

Ssh the ssh property returns a *V1AccessSshRequestBuilder when successful

type V1AccessSshRequestBuilder

V1AccessSshRequestBuilder builds and executes requests for operations under \manage\v1\access\ssh

func NewV1AccessSshRequestBuilder

NewV1AccessSshRequestBuilder instantiates a new V1AccessSshRequestBuilder and sets the default values.

func NewV1AccessSshRequestBuilderInternal

func NewV1AccessSshRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1AccessSshRequestBuilder

NewV1AccessSshRequestBuilderInternal instantiates a new V1AccessSshRequestBuilder and sets the default values.

func (*V1AccessSshRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a SSH key from the `authorized_keys` file for your GitHub Enterprise Server instance. This will remove access via SSH to your instance. For more information, see "[Accessing the administrative shell (SSH)](https://docs.github.com/enterprise-server@3.14/admin/administering-your-instance/administering-your-instance-from-the-command-line/accessing-the-administrative-shell-ssh)." returns a *RequestInformation when successful

func (*V1AccessSshRequestBuilder) ToPostRequestInformation

ToPostRequestInformation adds a SSH key to the `authorized_keys` file for your GitHub Enterprise Server instance. This will grant access via SSH to your instance. For more information, see "[Accessing the administrative shell (SSH)](https://docs.github.com/enterprise-server@3.14/admin/administering-your-instance/administering-your-instance-from-the-command-line/accessing-the-administrative-shell-ssh)." returns a *RequestInformation when successful

func (*V1AccessSshRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1AccessSshRequestBuilder when successful

type V1ChecksRequestBuilder

V1ChecksRequestBuilder builds and executes requests for operations under \manage\v1\checks

func NewV1ChecksRequestBuilder

NewV1ChecksRequestBuilder instantiates a new V1ChecksRequestBuilder and sets the default values.

func NewV1ChecksRequestBuilderInternal

func NewV1ChecksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ChecksRequestBuilder

NewV1ChecksRequestBuilderInternal instantiates a new V1ChecksRequestBuilder and sets the default values.

func (*V1ChecksRequestBuilder) SystemRequirements

SystemRequirements the systemRequirements property returns a *V1ChecksSystemRequirementsRequestBuilder when successful

type V1ChecksSystemRequirementsRequestBuilder

type V1ChecksSystemRequirementsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

V1ChecksSystemRequirementsRequestBuilder builds and executes requests for operations under \manage\v1\checks\system-requirements

func NewV1ChecksSystemRequirementsRequestBuilder

NewV1ChecksSystemRequirementsRequestBuilder instantiates a new V1ChecksSystemRequirementsRequestBuilder and sets the default values.

func NewV1ChecksSystemRequirementsRequestBuilderInternal

func NewV1ChecksSystemRequirementsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ChecksSystemRequirementsRequestBuilder

NewV1ChecksSystemRequirementsRequestBuilderInternal instantiates a new V1ChecksSystemRequirementsRequestBuilder and sets the default values.

func (*V1ChecksSystemRequirementsRequestBuilder) Get

Get checks if the minimum requirements for system hardware resources are met on each configured cluster node.This endpoint may take several seconds to reply. returns a GhesChecksSystemRequirementsable when successful API method documentation

func (*V1ChecksSystemRequirementsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation checks if the minimum requirements for system hardware resources are met on each configured cluster node.This endpoint may take several seconds to reply. returns a *RequestInformation when successful

func (*V1ChecksSystemRequirementsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ChecksSystemRequirementsRequestBuilder when successful

type V1ClusterRequestBuilder

V1ClusterRequestBuilder builds and executes requests for operations under \manage\v1\cluster

func NewV1ClusterRequestBuilder

NewV1ClusterRequestBuilder instantiates a new V1ClusterRequestBuilder and sets the default values.

func NewV1ClusterRequestBuilderInternal

func NewV1ClusterRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ClusterRequestBuilder

NewV1ClusterRequestBuilderInternal instantiates a new V1ClusterRequestBuilder and sets the default values.

func (*V1ClusterRequestBuilder) Status

Status the status property returns a *V1ClusterStatusRequestBuilder when successful

type V1ClusterStatusRequestBuilder

V1ClusterStatusRequestBuilder builds and executes requests for operations under \manage\v1\cluster\status

func NewV1ClusterStatusRequestBuilder

NewV1ClusterStatusRequestBuilder instantiates a new V1ClusterStatusRequestBuilder and sets the default values.

func NewV1ClusterStatusRequestBuilderInternal

func NewV1ClusterStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ClusterStatusRequestBuilder

NewV1ClusterStatusRequestBuilderInternal instantiates a new V1ClusterStatusRequestBuilder and sets the default values.

func (*V1ClusterStatusRequestBuilder) Get

Get gets the status of all services running on each cluster node.This endpoint may take several seconds to reply. returns a GhesClusterStatusable when successful API method documentation

func (*V1ClusterStatusRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the status of all services running on each cluster node.This endpoint may take several seconds to reply. returns a *RequestInformation when successful

func (*V1ClusterStatusRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ClusterStatusRequestBuilder when successful

type V1ConfigApplyEventsGetResponse

type V1ConfigApplyEventsGetResponse struct {
	// contains filtered or unexported fields
}

func NewV1ConfigApplyEventsGetResponse

func NewV1ConfigApplyEventsGetResponse() *V1ConfigApplyEventsGetResponse

NewV1ConfigApplyEventsGetResponse instantiates a new V1ConfigApplyEventsGetResponse and sets the default values.

func (*V1ConfigApplyEventsGetResponse) GetAdditionalData

func (m *V1ConfigApplyEventsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigApplyEventsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigApplyEventsGetResponse) GetNodes

GetNodes gets the nodes property value. The nodes property returns a []V1ConfigApplyEventsGetResponse_nodesable when successful

func (*V1ConfigApplyEventsGetResponse) Serialize

Serialize serializes information the current object

func (*V1ConfigApplyEventsGetResponse) SetAdditionalData

func (m *V1ConfigApplyEventsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*V1ConfigApplyEventsGetResponse) SetNodes

SetNodes sets the nodes property value. The nodes property

type V1ConfigApplyEventsGetResponse_nodes

type V1ConfigApplyEventsGetResponse_nodes struct {
	// contains filtered or unexported fields
}

func NewV1ConfigApplyEventsGetResponse_nodes

func NewV1ConfigApplyEventsGetResponse_nodes() *V1ConfigApplyEventsGetResponse_nodes

NewV1ConfigApplyEventsGetResponse_nodes instantiates a new V1ConfigApplyEventsGetResponse_nodes and sets the default values.

func (*V1ConfigApplyEventsGetResponse_nodes) GetAdditionalData

func (m *V1ConfigApplyEventsGetResponse_nodes) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigApplyEventsGetResponse_nodes) GetEvents

GetEvents gets the events property value. The events property returns a []V1ConfigApplyEventsGetResponse_nodes_eventsable when successful

func (*V1ConfigApplyEventsGetResponse_nodes) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigApplyEventsGetResponse_nodes) GetLastRequestId

func (m *V1ConfigApplyEventsGetResponse_nodes) GetLastRequestId() *string

GetLastRequestId gets the last_request_id property value. Unique ID of the last response from a host used for pagination returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes) GetNode

GetNode gets the node property value. Hostname of the node returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes) Serialize

Serialize serializes information the current object

func (*V1ConfigApplyEventsGetResponse_nodes) SetAdditionalData

func (m *V1ConfigApplyEventsGetResponse_nodes) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*V1ConfigApplyEventsGetResponse_nodes) SetEvents

SetEvents sets the events property value. The events property

func (*V1ConfigApplyEventsGetResponse_nodes) SetLastRequestId

func (m *V1ConfigApplyEventsGetResponse_nodes) SetLastRequestId(value *string)

SetLastRequestId sets the last_request_id property value. Unique ID of the last response from a host used for pagination

func (*V1ConfigApplyEventsGetResponse_nodes) SetNode

func (m *V1ConfigApplyEventsGetResponse_nodes) SetNode(value *string)

SetNode sets the node property value. Hostname of the node

type V1ConfigApplyEventsGetResponse_nodes_events

type V1ConfigApplyEventsGetResponse_nodes_events struct {
	// contains filtered or unexported fields
}

func NewV1ConfigApplyEventsGetResponse_nodes_events

func NewV1ConfigApplyEventsGetResponse_nodes_events() *V1ConfigApplyEventsGetResponse_nodes_events

NewV1ConfigApplyEventsGetResponse_nodes_events instantiates a new V1ConfigApplyEventsGetResponse_nodes_events and sets the default values.

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetAdditionalData

func (m *V1ConfigApplyEventsGetResponse_nodes_events) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetBody

GetBody gets the body property value. The body property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetConfigRunId

GetConfigRunId gets the config_run_id property value. The config_run_id property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetEventName

GetEventName gets the event_name property value. The event_name property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetHostname

GetHostname gets the hostname property value. The hostname property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetSeverityText

GetSeverityText gets the severity_text property value. The severity_text property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetSpanDepth

GetSpanDepth gets the span_depth property value. The span_depth property returns a *int32 when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetSpanId

GetSpanId gets the span_id property value. The span_id property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetSpanParentId

GetSpanParentId gets the span_parent_id property value. The span_parent_id property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetTimestamp

GetTimestamp gets the timestamp property value. The timestamp property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetTopology

GetTopology gets the topology property value. The topology property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) GetTraceId

GetTraceId gets the trace_id property value. The trace_id property returns a *string when successful

func (*V1ConfigApplyEventsGetResponse_nodes_events) Serialize

Serialize serializes information the current object

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetAdditionalData

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetBody

SetBody sets the body property value. The body property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetConfigRunId

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetConfigRunId(value *string)

SetConfigRunId sets the config_run_id property value. The config_run_id property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetEventName

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetEventName(value *string)

SetEventName sets the event_name property value. The event_name property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetHostname

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetHostname(value *string)

SetHostname sets the hostname property value. The hostname property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetSeverityText

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetSeverityText(value *string)

SetSeverityText sets the severity_text property value. The severity_text property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetSpanDepth

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetSpanDepth(value *int32)

SetSpanDepth sets the span_depth property value. The span_depth property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetSpanId

SetSpanId sets the span_id property value. The span_id property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetSpanParentId

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetSpanParentId(value *string)

SetSpanParentId sets the span_parent_id property value. The span_parent_id property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetTimestamp

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetTimestamp(value *string)

SetTimestamp sets the timestamp property value. The timestamp property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetTopology

func (m *V1ConfigApplyEventsGetResponse_nodes_events) SetTopology(value *string)

SetTopology sets the topology property value. The topology property

func (*V1ConfigApplyEventsGetResponse_nodes_events) SetTraceId

SetTraceId sets the trace_id property value. The trace_id property

type V1ConfigApplyEventsGetResponse_nodes_eventsable

type V1ConfigApplyEventsGetResponse_nodes_eventsable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBody() *string
	GetConfigRunId() *string
	GetEventName() *string
	GetHostname() *string
	GetSeverityText() *string
	GetSpanDepth() *int32
	GetSpanId() *string
	GetSpanParentId() *string
	GetTimestamp() *string
	GetTopology() *string
	GetTraceId() *string
	SetBody(value *string)
	SetConfigRunId(value *string)
	SetEventName(value *string)
	SetHostname(value *string)
	SetSeverityText(value *string)
	SetSpanDepth(value *int32)
	SetSpanId(value *string)
	SetSpanParentId(value *string)
	SetTimestamp(value *string)
	SetTopology(value *string)
	SetTraceId(value *string)
}

type V1ConfigApplyEventsRequestBuilder

V1ConfigApplyEventsRequestBuilder builds and executes requests for operations under \manage\v1\config\apply\events

func NewV1ConfigApplyEventsRequestBuilder

NewV1ConfigApplyEventsRequestBuilder instantiates a new V1ConfigApplyEventsRequestBuilder and sets the default values.

func NewV1ConfigApplyEventsRequestBuilderInternal

func NewV1ConfigApplyEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigApplyEventsRequestBuilder

NewV1ConfigApplyEventsRequestBuilderInternal instantiates a new V1ConfigApplyEventsRequestBuilder and sets the default values.

func (*V1ConfigApplyEventsRequestBuilder) Get

Get lists events from an in-process `ghe-config-apply` run on your Github Enterprise Server instance. returns a V1ConfigApplyEventsGetResponseable when successful API method documentation

func (*V1ConfigApplyEventsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists events from an in-process `ghe-config-apply` run on your Github Enterprise Server instance. returns a *RequestInformation when successful

func (*V1ConfigApplyEventsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ConfigApplyEventsRequestBuilder when successful

type V1ConfigApplyEventsRequestBuilderGetQueryParameters

type V1ConfigApplyEventsRequestBuilderGetQueryParameters struct {
	// The unique ID of the last response from a host, used for pagination.
	Last_request_id *string `uriparametername:"last_request_id"`
}

V1ConfigApplyEventsRequestBuilderGetQueryParameters lists events from an in-process `ghe-config-apply` run on your Github Enterprise Server instance.

type V1ConfigApplyGetResponse

type V1ConfigApplyGetResponse struct {
	// contains filtered or unexported fields
}

func NewV1ConfigApplyGetResponse

func NewV1ConfigApplyGetResponse() *V1ConfigApplyGetResponse

NewV1ConfigApplyGetResponse instantiates a new V1ConfigApplyGetResponse and sets the default values.

func (*V1ConfigApplyGetResponse) GetAdditionalData

func (m *V1ConfigApplyGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigApplyGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigApplyGetResponse) GetNodes

GetNodes gets the nodes property value. The nodes property returns a []V1ConfigApplyGetResponse_nodesable when successful

func (*V1ConfigApplyGetResponse) GetRunning

func (m *V1ConfigApplyGetResponse) GetRunning() *bool

GetRunning gets the running property value. Whether the ghe-config-apply run is still running in the environment returns a *bool when successful

func (*V1ConfigApplyGetResponse) GetSuccessful

func (m *V1ConfigApplyGetResponse) GetSuccessful() *bool

GetSuccessful gets the successful property value. Whether the ghe-config-apply run was successful in the environment returns a *bool when successful

func (*V1ConfigApplyGetResponse) Serialize

Serialize serializes information the current object

func (*V1ConfigApplyGetResponse) SetAdditionalData

func (m *V1ConfigApplyGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*V1ConfigApplyGetResponse) SetNodes

SetNodes sets the nodes property value. The nodes property

func (*V1ConfigApplyGetResponse) SetRunning

func (m *V1ConfigApplyGetResponse) SetRunning(value *bool)

SetRunning sets the running property value. Whether the ghe-config-apply run is still running in the environment

func (*V1ConfigApplyGetResponse) SetSuccessful

func (m *V1ConfigApplyGetResponse) SetSuccessful(value *bool)

SetSuccessful sets the successful property value. Whether the ghe-config-apply run was successful in the environment

type V1ConfigApplyGetResponse_nodes

type V1ConfigApplyGetResponse_nodes struct {
	// contains filtered or unexported fields
}

func NewV1ConfigApplyGetResponse_nodes

func NewV1ConfigApplyGetResponse_nodes() *V1ConfigApplyGetResponse_nodes

NewV1ConfigApplyGetResponse_nodes instantiates a new V1ConfigApplyGetResponse_nodes and sets the default values.

func (*V1ConfigApplyGetResponse_nodes) GetAdditionalData

func (m *V1ConfigApplyGetResponse_nodes) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigApplyGetResponse_nodes) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigApplyGetResponse_nodes) GetHostname

func (m *V1ConfigApplyGetResponse_nodes) GetHostname() *string

GetHostname gets the hostname property value. The hostname of the node returns a *string when successful

func (*V1ConfigApplyGetResponse_nodes) GetRunId

func (m *V1ConfigApplyGetResponse_nodes) GetRunId() *string

GetRunId gets the run_id property value. The unique Run ID of the ghe-config-apply run on the host returns a *string when successful

func (*V1ConfigApplyGetResponse_nodes) GetRunning

func (m *V1ConfigApplyGetResponse_nodes) GetRunning() *bool

GetRunning gets the running property value. Whether the ghe-config-apply run is still running on the host returns a *bool when successful

func (*V1ConfigApplyGetResponse_nodes) GetSuccessful

func (m *V1ConfigApplyGetResponse_nodes) GetSuccessful() *bool

GetSuccessful gets the successful property value. Whether the ghe-config-apply run was successful on the host returns a *bool when successful

func (*V1ConfigApplyGetResponse_nodes) Serialize

Serialize serializes information the current object

func (*V1ConfigApplyGetResponse_nodes) SetAdditionalData

func (m *V1ConfigApplyGetResponse_nodes) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*V1ConfigApplyGetResponse_nodes) SetHostname

func (m *V1ConfigApplyGetResponse_nodes) SetHostname(value *string)

SetHostname sets the hostname property value. The hostname of the node

func (*V1ConfigApplyGetResponse_nodes) SetRunId

func (m *V1ConfigApplyGetResponse_nodes) SetRunId(value *string)

SetRunId sets the run_id property value. The unique Run ID of the ghe-config-apply run on the host

func (*V1ConfigApplyGetResponse_nodes) SetRunning

func (m *V1ConfigApplyGetResponse_nodes) SetRunning(value *bool)

SetRunning sets the running property value. Whether the ghe-config-apply run is still running on the host

func (*V1ConfigApplyGetResponse_nodes) SetSuccessful

func (m *V1ConfigApplyGetResponse_nodes) SetSuccessful(value *bool)

SetSuccessful sets the successful property value. Whether the ghe-config-apply run was successful on the host

type V1ConfigApplyGetResponse_nodesable

type V1ConfigApplyGetResponse_nodesable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetHostname() *string
	GetRunId() *string
	GetRunning() *bool
	GetSuccessful() *bool
	SetHostname(value *string)
	SetRunId(value *string)
	SetRunning(value *bool)
	SetSuccessful(value *bool)
}

type V1ConfigApplyPostRequestBody

type V1ConfigApplyPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewV1ConfigApplyPostRequestBody

func NewV1ConfigApplyPostRequestBody() *V1ConfigApplyPostRequestBody

NewV1ConfigApplyPostRequestBody instantiates a new V1ConfigApplyPostRequestBody and sets the default values.

func (*V1ConfigApplyPostRequestBody) GetAdditionalData

func (m *V1ConfigApplyPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigApplyPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigApplyPostRequestBody) GetRunId

func (m *V1ConfigApplyPostRequestBody) GetRunId() *string

GetRunId gets the run_id property value. The run ID to execute `ghe-config-apply` with. If not provided, a run ID will be generated randomly. returns a *string when successful

func (*V1ConfigApplyPostRequestBody) Serialize

Serialize serializes information the current object

func (*V1ConfigApplyPostRequestBody) SetAdditionalData

func (m *V1ConfigApplyPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*V1ConfigApplyPostRequestBody) SetRunId

func (m *V1ConfigApplyPostRequestBody) SetRunId(value *string)

SetRunId sets the run_id property value. The run ID to execute `ghe-config-apply` with. If not provided, a run ID will be generated randomly.

type V1ConfigApplyPostResponse

type V1ConfigApplyPostResponse struct {
	// contains filtered or unexported fields
}

func NewV1ConfigApplyPostResponse

func NewV1ConfigApplyPostResponse() *V1ConfigApplyPostResponse

NewV1ConfigApplyPostResponse instantiates a new V1ConfigApplyPostResponse and sets the default values.

func (*V1ConfigApplyPostResponse) GetAdditionalData

func (m *V1ConfigApplyPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigApplyPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigApplyPostResponse) GetRunId

func (m *V1ConfigApplyPostResponse) GetRunId() *string

GetRunId gets the run_id property value. Run ID the job was launched with returns a *string when successful

func (*V1ConfigApplyPostResponse) Serialize

Serialize serializes information the current object

func (*V1ConfigApplyPostResponse) SetAdditionalData

func (m *V1ConfigApplyPostResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*V1ConfigApplyPostResponse) SetRunId

func (m *V1ConfigApplyPostResponse) SetRunId(value *string)

SetRunId sets the run_id property value. Run ID the job was launched with

type V1ConfigApplyRequestBuilder

V1ConfigApplyRequestBuilder builds and executes requests for operations under \manage\v1\config\apply

func NewV1ConfigApplyRequestBuilder

NewV1ConfigApplyRequestBuilder instantiates a new V1ConfigApplyRequestBuilder and sets the default values.

func NewV1ConfigApplyRequestBuilderInternal

func NewV1ConfigApplyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigApplyRequestBuilder

NewV1ConfigApplyRequestBuilderInternal instantiates a new V1ConfigApplyRequestBuilder and sets the default values.

func (*V1ConfigApplyRequestBuilder) Events

Events the events property returns a *V1ConfigApplyEventsRequestBuilder when successful

func (*V1ConfigApplyRequestBuilder) Get

Get displays the current status of `ghe-config-apply` in the environment or the status of a historical run by ID. returns a V1ConfigApplyGetResponseable when successful API method documentation

func (*V1ConfigApplyRequestBuilder) Post

Post triggers a run of `ghe-config-apply` from the `ghes-manage` agent on your Nomad Delegate instance.You can provide a run ID or allow one to be generated randomly. returns a V1ConfigApplyPostResponseable when successful API method documentation

func (*V1ConfigApplyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation displays the current status of `ghe-config-apply` in the environment or the status of a historical run by ID. returns a *RequestInformation when successful

func (*V1ConfigApplyRequestBuilder) ToPostRequestInformation

ToPostRequestInformation triggers a run of `ghe-config-apply` from the `ghes-manage` agent on your Nomad Delegate instance.You can provide a run ID or allow one to be generated randomly. returns a *RequestInformation when successful

func (*V1ConfigApplyRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ConfigApplyRequestBuilder when successful

type V1ConfigApplyRequestBuilderGetQueryParameters

type V1ConfigApplyRequestBuilderGetQueryParameters struct {
	// The unique run ID of the `ghe-config-apply` run.
	Run_id *string `uriparametername:"run_id"`
}

V1ConfigApplyRequestBuilderGetQueryParameters displays the current status of `ghe-config-apply` in the environment or the status of a historical run by ID.

type V1ConfigInitRequestBuilder

V1ConfigInitRequestBuilder builds and executes requests for operations under \manage\v1\config\init

func NewV1ConfigInitRequestBuilder

NewV1ConfigInitRequestBuilder instantiates a new V1ConfigInitRequestBuilder and sets the default values.

func NewV1ConfigInitRequestBuilderInternal

func NewV1ConfigInitRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigInitRequestBuilder

NewV1ConfigInitRequestBuilderInternal instantiates a new V1ConfigInitRequestBuilder and sets the default values.

func (*V1ConfigInitRequestBuilder) Post

Post when you boot a GitHub instance for the first time, you can use this endpoint to upload a license.Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.> [!NOTE]> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). API method documentation

func (*V1ConfigInitRequestBuilder) ToPostRequestInformation

ToPostRequestInformation when you boot a GitHub instance for the first time, you can use this endpoint to upload a license.Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.> [!NOTE]> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). returns a *RequestInformation when successful

func (*V1ConfigInitRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ConfigInitRequestBuilder when successful

type V1ConfigLicenseCheckRequestBuilder

V1ConfigLicenseCheckRequestBuilder builds and executes requests for operations under \manage\v1\config\license\check

func NewV1ConfigLicenseCheckRequestBuilder

NewV1ConfigLicenseCheckRequestBuilder instantiates a new V1ConfigLicenseCheckRequestBuilder and sets the default values.

func NewV1ConfigLicenseCheckRequestBuilderInternal

func NewV1ConfigLicenseCheckRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigLicenseCheckRequestBuilder

NewV1ConfigLicenseCheckRequestBuilderInternal instantiates a new V1ConfigLicenseCheckRequestBuilder and sets the default values.

func (*V1ConfigLicenseCheckRequestBuilder) Get

Get check the status of the license that is currently set for the enterprise. returns a GhesLicenseCheckable when successful API method documentation

func (*V1ConfigLicenseCheckRequestBuilder) ToGetRequestInformation

ToGetRequestInformation check the status of the license that is currently set for the enterprise. returns a *RequestInformation when successful

func (*V1ConfigLicenseCheckRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ConfigLicenseCheckRequestBuilder when successful

type V1ConfigLicenseRequestBuilder

V1ConfigLicenseRequestBuilder builds and executes requests for operations under \manage\v1\config\license

func NewV1ConfigLicenseRequestBuilder

NewV1ConfigLicenseRequestBuilder instantiates a new V1ConfigLicenseRequestBuilder and sets the default values.

func NewV1ConfigLicenseRequestBuilderInternal

func NewV1ConfigLicenseRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigLicenseRequestBuilder

NewV1ConfigLicenseRequestBuilderInternal instantiates a new V1ConfigLicenseRequestBuilder and sets the default values.

func (*V1ConfigLicenseRequestBuilder) Check

Check the check property returns a *V1ConfigLicenseCheckRequestBuilder when successful

func (*V1ConfigLicenseRequestBuilder) Get

Get gets information about the license that is currently set for the enterprise. returns a GhesLicenseInfoable when successful API method documentation

func (*V1ConfigLicenseRequestBuilder) Put

Put uploads an enterprise license. This operation does not automatically activate the license.> [!NOTE]> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). API method documentation

func (*V1ConfigLicenseRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets information about the license that is currently set for the enterprise. returns a *RequestInformation when successful

func (*V1ConfigLicenseRequestBuilder) ToPutRequestInformation

ToPutRequestInformation uploads an enterprise license. This operation does not automatically activate the license.> [!NOTE]> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). returns a *RequestInformation when successful

func (*V1ConfigLicenseRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ConfigLicenseRequestBuilder when successful

type V1ConfigLicenseRequestBuilderPutQueryParameters

type V1ConfigLicenseRequestBuilderPutQueryParameters struct {
	// Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too.
	Apply *bool `uriparametername:"apply"`
}

V1ConfigLicenseRequestBuilderPutQueryParameters uploads an enterprise license. This operation does not automatically activate the license.> [!NOTE]> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).

type V1ConfigNodesRequestBuilder

V1ConfigNodesRequestBuilder builds and executes requests for operations under \manage\v1\config\nodes

func NewV1ConfigNodesRequestBuilder

NewV1ConfigNodesRequestBuilder instantiates a new V1ConfigNodesRequestBuilder and sets the default values.

func NewV1ConfigNodesRequestBuilderInternal

func NewV1ConfigNodesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigNodesRequestBuilder

NewV1ConfigNodesRequestBuilderInternal instantiates a new V1ConfigNodesRequestBuilder and sets the default values.

func (*V1ConfigNodesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get node metadata for all configured nodes in the current cluster. For more information, see "[About clustering](https://docs.github.com/enterprise-server@3.14/admin/enterprise-management/configuring-clustering/about-clustering)." returns a *RequestInformation when successful

func (*V1ConfigNodesRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ConfigNodesRequestBuilder when successful

type V1ConfigNodesRequestBuilderGetQueryParameters

type V1ConfigNodesRequestBuilderGetQueryParameters struct {
	// The cluster roles from the cluster configuration file.
	Cluster_roles *string `uriparametername:"cluster_roles"`
	// The UUID which identifies a node.
	Uuid *string `uriparametername:"uuid"`
}

V1ConfigNodesRequestBuilderGetQueryParameters get node metadata for all configured nodes in the current cluster. For more information, see "[About clustering](https://docs.github.com/enterprise-server@3.14/admin/enterprise-management/configuring-clustering/about-clustering)."

type V1ConfigRequestBuilder

V1ConfigRequestBuilder builds and executes requests for operations under \manage\v1\config

func NewV1ConfigRequestBuilder

NewV1ConfigRequestBuilder instantiates a new V1ConfigRequestBuilder and sets the default values.

func NewV1ConfigRequestBuilderInternal

func NewV1ConfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigRequestBuilder

NewV1ConfigRequestBuilderInternal instantiates a new V1ConfigRequestBuilder and sets the default values.

func (*V1ConfigRequestBuilder) Apply

Apply the apply property returns a *V1ConfigApplyRequestBuilder when successful

func (*V1ConfigRequestBuilder) Init

Init the init property returns a *V1ConfigInitRequestBuilder when successful

func (*V1ConfigRequestBuilder) License

License the license property returns a *V1ConfigLicenseRequestBuilder when successful

func (*V1ConfigRequestBuilder) Nodes

Nodes the nodes property returns a *V1ConfigNodesRequestBuilder when successful

func (*V1ConfigRequestBuilder) Settings

Settings the settings property returns a *V1ConfigSettingsRequestBuilder when successful

type V1ConfigSettingsPutRequestBody

type V1ConfigSettingsPutRequestBody struct {
	// contains filtered or unexported fields
}

func NewV1ConfigSettingsPutRequestBody

func NewV1ConfigSettingsPutRequestBody() *V1ConfigSettingsPutRequestBody

NewV1ConfigSettingsPutRequestBody instantiates a new V1ConfigSettingsPutRequestBody and sets the default values.

func (*V1ConfigSettingsPutRequestBody) GetAdditionalData

func (m *V1ConfigSettingsPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*V1ConfigSettingsPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*V1ConfigSettingsPutRequestBody) Serialize

Serialize serializes information the current object

func (*V1ConfigSettingsPutRequestBody) SetAdditionalData

func (m *V1ConfigSettingsPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type V1ConfigSettingsRequestBuilder

V1ConfigSettingsRequestBuilder builds and executes requests for operations under \manage\v1\config\settings

func NewV1ConfigSettingsRequestBuilder

NewV1ConfigSettingsRequestBuilder instantiates a new V1ConfigSettingsRequestBuilder and sets the default values.

func NewV1ConfigSettingsRequestBuilderInternal

func NewV1ConfigSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ConfigSettingsRequestBuilder

NewV1ConfigSettingsRequestBuilderInternal instantiates a new V1ConfigSettingsRequestBuilder and sets the default values.

func (*V1ConfigSettingsRequestBuilder) Put

Put updates the settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/manage-ghes#get-settings).**Notes:**- The request body only requires the settings parameters that should be updated to be specified, all other parameters will be unmodified or populated from the default values.- You cannot set the Management Console root site administrator password with this API endpoint. Use the `ghe-set-password` utility to change the management console password. For more information, see "[Command-line utilities](https://docs.github.com/enterprise-server@3.14/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password)." API method documentation

func (*V1ConfigSettingsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a list of settings for a GitHub Enterprise Server instance. returns a *RequestInformation when successful

func (*V1ConfigSettingsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation updates the settings on your instance. For a list of the available settings, see the [Get settings endpoint](https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/manage-ghes#get-settings).**Notes:**- The request body only requires the settings parameters that should be updated to be specified, all other parameters will be unmodified or populated from the default values.- You cannot set the Management Console root site administrator password with this API endpoint. Use the `ghe-set-password` utility to change the management console password. For more information, see "[Command-line utilities](https://docs.github.com/enterprise-server@3.14/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password)." returns a *RequestInformation when successful

func (*V1ConfigSettingsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ConfigSettingsRequestBuilder when successful

type V1MaintenanceRequestBuilder

V1MaintenanceRequestBuilder builds and executes requests for operations under \manage\v1\maintenance

func NewV1MaintenanceRequestBuilder

NewV1MaintenanceRequestBuilder instantiates a new V1MaintenanceRequestBuilder and sets the default values.

func NewV1MaintenanceRequestBuilderInternal

func NewV1MaintenanceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1MaintenanceRequestBuilder

NewV1MaintenanceRequestBuilderInternal instantiates a new V1MaintenanceRequestBuilder and sets the default values.

func (*V1MaintenanceRequestBuilder) Get

Get gets the status and details of maintenance mode on all available nodes. For more information, see "[Enabling and scheduling maintenance mode](https://docs.github.com/enterprise-server@3.14/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode)." returns a []GhesGetMaintenanceable when successful API method documentation

func (*V1MaintenanceRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the status and details of maintenance mode on all available nodes. For more information, see "[Enabling and scheduling maintenance mode](https://docs.github.com/enterprise-server@3.14/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode)." returns a *RequestInformation when successful

func (*V1MaintenanceRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1MaintenanceRequestBuilder when successful

type V1MaintenanceRequestBuilderGetQueryParameters

type V1MaintenanceRequestBuilderGetQueryParameters struct {
	// The cluster roles from the cluster configuration file.
	Cluster_roles *string `uriparametername:"cluster_roles"`
	// The UUID which identifies a node.
	Uuid *string `uriparametername:"uuid"`
}

V1MaintenanceRequestBuilderGetQueryParameters gets the status and details of maintenance mode on all available nodes. For more information, see "[Enabling and scheduling maintenance mode](https://docs.github.com/enterprise-server@3.14/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode)."

type V1ReplicationRequestBuilder

V1ReplicationRequestBuilder builds and executes requests for operations under \manage\v1\replication

func NewV1ReplicationRequestBuilder

NewV1ReplicationRequestBuilder instantiates a new V1ReplicationRequestBuilder and sets the default values.

func NewV1ReplicationRequestBuilderInternal

func NewV1ReplicationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ReplicationRequestBuilder

NewV1ReplicationRequestBuilderInternal instantiates a new V1ReplicationRequestBuilder and sets the default values.

func (*V1ReplicationRequestBuilder) Status

Status the status property returns a *V1ReplicationStatusRequestBuilder when successful

type V1ReplicationStatusRequestBuilder

V1ReplicationStatusRequestBuilder builds and executes requests for operations under \manage\v1\replication\status

func NewV1ReplicationStatusRequestBuilder

NewV1ReplicationStatusRequestBuilder instantiates a new V1ReplicationStatusRequestBuilder and sets the default values.

func NewV1ReplicationStatusRequestBuilderInternal

func NewV1ReplicationStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1ReplicationStatusRequestBuilder

NewV1ReplicationStatusRequestBuilderInternal instantiates a new V1ReplicationStatusRequestBuilder and sets the default values.

func (*V1ReplicationStatusRequestBuilder) Get

Get gets the status of all services running on each replica node.This endpoint may take several seconds to reply. returns a GhesReplicationStatusable when successful API method documentation

func (*V1ReplicationStatusRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the status of all services running on each replica node.This endpoint may take several seconds to reply. returns a *RequestInformation when successful

func (*V1ReplicationStatusRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1ReplicationStatusRequestBuilder when successful

type V1ReplicationStatusRequestBuilderGetQueryParameters

type V1ReplicationStatusRequestBuilderGetQueryParameters struct {
	// The cluster roles from the cluster configuration file.
	Cluster_roles *string `uriparametername:"cluster_roles"`
	// The UUID which identifies a node.
	Uuid *string `uriparametername:"uuid"`
}

V1ReplicationStatusRequestBuilderGetQueryParameters gets the status of all services running on each replica node.This endpoint may take several seconds to reply.

type V1RequestBuilder

V1RequestBuilder builds and executes requests for operations under \manage\v1

func NewV1RequestBuilder

NewV1RequestBuilder instantiates a new V1RequestBuilder and sets the default values.

func NewV1RequestBuilderInternal

func NewV1RequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1RequestBuilder

NewV1RequestBuilderInternal instantiates a new V1RequestBuilder and sets the default values.

func (*V1RequestBuilder) Access

Access the access property returns a *V1AccessRequestBuilder when successful

func (*V1RequestBuilder) Checks

Checks the checks property returns a *V1ChecksRequestBuilder when successful

func (*V1RequestBuilder) Cluster

Cluster the cluster property returns a *V1ClusterRequestBuilder when successful

func (*V1RequestBuilder) Config

Config the config property returns a *V1ConfigRequestBuilder when successful

func (*V1RequestBuilder) Maintenance

Maintenance the maintenance property returns a *V1MaintenanceRequestBuilder when successful

func (*V1RequestBuilder) Replication

Replication the replication property returns a *V1ReplicationRequestBuilder when successful

func (*V1RequestBuilder) Version

Version the version property returns a *V1VersionRequestBuilder when successful

type V1VersionRequestBuilder

V1VersionRequestBuilder builds and executes requests for operations under \manage\v1\version

func NewV1VersionRequestBuilder

NewV1VersionRequestBuilder instantiates a new V1VersionRequestBuilder and sets the default values.

func NewV1VersionRequestBuilderInternal

func NewV1VersionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *V1VersionRequestBuilder

NewV1VersionRequestBuilderInternal instantiates a new V1VersionRequestBuilder and sets the default values.

func (*V1VersionRequestBuilder) Get

Get gets the GitHub Enterprise Server release versions that are currently installed on all available nodes. For more information, see "[GitHub Enterprise Server releases](https://docs.github.com/enterprise-server@3.14/admin/all-releases)." returns a []GhesVersionable when successful API method documentation

func (*V1VersionRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the GitHub Enterprise Server release versions that are currently installed on all available nodes. For more information, see "[GitHub Enterprise Server releases](https://docs.github.com/enterprise-server@3.14/admin/all-releases)." returns a *RequestInformation when successful

func (*V1VersionRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *V1VersionRequestBuilder when successful

type V1VersionRequestBuilderGetQueryParameters

type V1VersionRequestBuilderGetQueryParameters struct {
	// The cluster roles from the cluster configuration file.
	Cluster_roles *string `uriparametername:"cluster_roles"`
	// The UUID which identifies a node.
	Uuid *string `uriparametername:"uuid"`
}

V1VersionRequestBuilderGetQueryParameters gets the GitHub Enterprise Server release versions that are currently installed on all available nodes. For more information, see "[GitHub Enterprise Server releases](https://docs.github.com/enterprise-server@3.14/admin/all-releases)."

Jump to

Keyboard shortcuts

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