types

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSDomainValidateResponse

type AWSDomainValidateResponse struct {
	Validated bool `json:"validated"`
}

AWSProfileResponse is the response for the /aws/profiles route

type AWSProfilesResponse

type AWSProfilesResponse struct {
	Profiles []string `json:"profiles"`
}

AWSProfileResponse is the response for the /aws/domain/validate route

type CivoDomainValidationRequest

type CivoDomainValidationRequest struct {
	CloudRegion string `json:"cloud_region"`
}

CivoDomainValidationRequest /civo/domain/validate required parameters

type CivoDomainValidationResponse

type CivoDomainValidationResponse struct {
	Validated bool `json:"validated"`
}

CivoDomainValidationResponse is the response for the /civo/domain/validate route

type CloudflareDomainValidationRequest added in v0.1.9

type CloudflareDomainValidationRequest struct {
	Token string `json:"token"`
}

type CloudflareDomainValidationResponse added in v0.1.9

type CloudflareDomainValidationResponse struct {
	Validated bool `json:"validated"`
}

type ClusterSecretUpdateRequest added in v0.1.9

type ClusterSecretUpdateRequest struct {
	ConsoleTour bool `json:"console-tour"`
}

type DigitalOceanDomainValidationRequest

type DigitalOceanDomainValidationRequest struct {
	Token string `json:"token"`
}

DigitalOceanDomainValidationRequest /digitalocean/domain/validate required parameters

type DigitalOceanDomainValidationResponse

type DigitalOceanDomainValidationResponse struct {
	Validated bool `json:"validated"`
}

DigitalOceanDomainValidationResponse is the response for the /digitalocean/domain/validate route

type DomainListRequest

type DomainListRequest struct {
	CloudRegion      string                    `json:"cloud_region"`
	AWSAuth          pkgtypes.AWSAuth          `json:"aws_auth,omitempty"`
	CivoAuth         pkgtypes.CivoAuth         `json:"civo_auth,omitempty"`
	DigitaloceanAuth pkgtypes.DigitaloceanAuth `json:"do_auth,omitempty"`
	VultrAuth        pkgtypes.VultrAuth        `json:"vultr_auth,omitempty"`
	CloudflareAuth   pkgtypes.CloudflareAuth   `json:"cloudflare_auth,omitempty"`
	GoogleAuth       pkgtypes.GoogleAuth       `bson:"google_auth,omitempty" json:"google_auth,omitempty"`
}

DomainListRequest

type DomainListResponse

type DomainListResponse struct {
	Domains []string `json:"domains"`
}

DomainListResponse

type EnvironmentUpdateRequest added in v0.0.4

type EnvironmentUpdateRequest struct {
	Color       string `bson:"color,omitempty" json:"color,omitempty"`
	Description string `bson:"description,omitempty" json:"description,omitempty"`
}

type GoogleDomainValidationRequest

type GoogleDomainValidationRequest struct {
	CloudRegion string `json:"cloud_region"`
}

GoogleDomainValidationRequest /google/domain/validate required parameters

type GoogleDomainValidationResponse

type GoogleDomainValidationResponse struct {
	Validated bool `json:"validated"`
}

GoogleDomainValidationResponse is the response for the /google/domain/validate route

type InstanceSizesRequest added in v0.0.3

type InstanceSizesRequest struct {
	CloudRegion      string                    `json:"cloud_region" binding:"required"`
	CloudZone        string                    `json:"cloud_zone,omitempty"`
	CivoAuth         pkgtypes.CivoAuth         `json:"civo_auth,omitempty"`
	AWSAuth          pkgtypes.AWSAuth          `json:"aws_auth,omitempty"`
	DigitaloceanAuth pkgtypes.DigitaloceanAuth `json:"do_auth,omitempty"`
	VultrAuth        pkgtypes.VultrAuth        `json:"vultr_auth,omitempty"`
	GoogleAuth       pkgtypes.GoogleAuth       `json:"google_auth,omitempty"`
}

type InstanceSizesResponse added in v0.0.4

type InstanceSizesResponse struct {
	InstanceSizes []string `json:"instance_sizes"`
}

type JSONFailureResponse

type JSONFailureResponse struct {
	Message string `json:"error" example:"err"`
}

JSONFailureResponse describes a failure message returned by the API

type JSONHealthResponse

type JSONHealthResponse struct {
	Status string `json:"status" example:"healthy"`
}

JSONHealthResponse describes a message returned by the API health endpoint

type JSONSuccessResponse

type JSONSuccessResponse struct {
	Message string `json:"message" example:"success"`
}

JSONSuccessResponse describes a success message returned by the API

type KubeconfigRequest added in v0.1.10

type KubeconfigRequest struct {
	VCluster         bool                      `json:"vcluster,omitempty"`
	ClusterName      string                    `json:"cluster_name,required"`
	ManagClusterName string                    `json:"man_clust_name,omitempty"`
	CloudRegion      string                    `json:"cloud_region,omitempty"`
	CivoAuth         pkgtypes.CivoAuth         `json:"civo_auth,omitempty"`
	DigitaloceanAuth pkgtypes.DigitaloceanAuth `json:"do_auth,omitempty"`
	VultrAuth        pkgtypes.VultrAuth        `json:"vultr_auth,omitempty"`
}

type KubeconfigResponse added in v0.1.10

type KubeconfigResponse struct {
	Config string `json:"config"`
}

type LogMessage

type LogMessage struct {
	Type    string `json:"-"`
	Message string `json:"message"`
}

type RegionListRequest

type RegionListRequest struct {
	CloudRegion      string                    `json:"cloud_region,omitempty"`
	AWSAuth          pkgtypes.AWSAuth          `json:"aws_auth,omitempty"`
	CivoAuth         pkgtypes.CivoAuth         `json:"civo_auth,omitempty"`
	DigitaloceanAuth pkgtypes.DigitaloceanAuth `json:"do_auth,omitempty"`
	VultrAuth        pkgtypes.VultrAuth        `json:"vultr_auth,omitempty"`
	GoogleAuth       pkgtypes.GoogleAuth       `bson:"google_auth,omitempty" json:"google_auth,omitempty"`
}

RegionListRequest

type RegionListResponse

type RegionListResponse struct {
	Regions []string `json:"regions"`
}

RegionListResponse

type TelemetryRequest

type TelemetryRequest struct {
	Event string `bson:"event" json:"event"`
}

type VultrDomainValidationRequest

type VultrDomainValidationRequest struct {
	CloudRegion string `json:"cloud_region"`
}

VultrDomainValidationRequest /vultr/domain/validate required parameters

type VultrDomainValidationResponse

type VultrDomainValidationResponse struct {
	Validated bool `json:"validated"`
}

VultrDomainValidationResponse is the response for the /vultr/domain/validate route

type ZonesListRequest added in v0.0.4

type ZonesListRequest struct {
	CloudRegion string              `json:"cloud_region" binding:"required"`
	GoogleAuth  pkgtypes.GoogleAuth `json:"google_auth" binding:"required"`
}

type ZonesListResponse added in v0.0.4

type ZonesListResponse struct {
	Zones []string `json:"zones"`
}

Jump to

Keyboard shortcuts

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