components

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

type ACL struct {
	Consumer *ACLConsumer `json:"consumer,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64   `json:"created_at,omitempty"`
	Group     string   `json:"group"`
	ID        *string  `json:"id,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

func (*ACL) GetConsumer

func (o *ACL) GetConsumer() *ACLConsumer

func (*ACL) GetCreatedAt

func (o *ACL) GetCreatedAt() *int64

func (*ACL) GetGroup

func (o *ACL) GetGroup() string

func (*ACL) GetID

func (o *ACL) GetID() *string

func (*ACL) GetTags

func (o *ACL) GetTags() []string

type ACLConsumer

type ACLConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*ACLConsumer) GetID

func (o *ACLConsumer) GetID() *string

type ACLWithoutParents

type ACLWithoutParents struct {
	Consumer *ACLWithoutParentsConsumer `json:"consumer,omitempty"`
	Group    string                     `json:"group"`
	ID       *string                    `json:"id,omitempty"`
	Tags     []string                   `json:"tags,omitempty"`
}

func (*ACLWithoutParents) GetConsumer

func (o *ACLWithoutParents) GetConsumer() *ACLWithoutParentsConsumer

func (*ACLWithoutParents) GetGroup

func (o *ACLWithoutParents) GetGroup() string

func (*ACLWithoutParents) GetID

func (o *ACLWithoutParents) GetID() *string

func (*ACLWithoutParents) GetTags

func (o *ACLWithoutParents) GetTags() []string

type ACLWithoutParentsConsumer

type ACLWithoutParentsConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*ACLWithoutParentsConsumer) GetID

func (o *ACLWithoutParentsConsumer) GetID() *string

type APIAccess added in v0.2.0

type APIAccess string

APIAccess - Type of API access data-plane groups will support for a configuration.

const (
	APIAccessPrivate           APIAccess = "private"
	APIAccessPublic            APIAccess = "public"
	APIAccessPrivatePlusPublic APIAccess = "private+public"
)

func (APIAccess) ToPointer added in v0.2.0

func (e APIAccess) ToPointer() *APIAccess

func (*APIAccess) UnmarshalJSON added in v0.2.0

func (e *APIAccess) UnmarshalJSON(data []byte) error

type APIProducts

type APIProducts struct {
	Name  RolesAPIProductsName `json:"name"`
	Roles RolesRoles           `json:"roles"`
}

func (*APIProducts) GetName

func (o *APIProducts) GetName() RolesAPIProductsName

func (*APIProducts) GetRoles

func (o *APIProducts) GetRoles() RolesRoles

type AWSTransitGateway added in v0.2.0

type AWSTransitGateway struct {
	// Human-readable name of the transit gateway.
	Name string `json:"name"`
	// List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway
	// attachment.
	//
	DNSConfig []TransitGatewayDNSConfig `json:"dns_config,omitempty"`
	// CIDR blocks for constructing a route table for the transit gateway, when attaching to the owning
	// network.
	//
	CidrBlocks                     []string                          `json:"cidr_blocks"`
	TransitGatewayAttachmentConfig AwsTransitGatewayAttachmentConfig `json:"transit_gateway_attachment_config"`
}

func (*AWSTransitGateway) GetCidrBlocks added in v0.2.0

func (o *AWSTransitGateway) GetCidrBlocks() []string

func (*AWSTransitGateway) GetDNSConfig added in v0.2.0

func (o *AWSTransitGateway) GetDNSConfig() []TransitGatewayDNSConfig

func (*AWSTransitGateway) GetName added in v0.2.0

func (o *AWSTransitGateway) GetName() string

func (*AWSTransitGateway) GetTransitGatewayAttachmentConfig added in v0.2.0

func (o *AWSTransitGateway) GetTransitGatewayAttachmentConfig() AwsTransitGatewayAttachmentConfig

type AWSTransitGatewayAttachmentType added in v0.2.0

type AWSTransitGatewayAttachmentType string
const (
	AWSTransitGatewayAttachmentTypeAwsTransitGatewayAttachment AWSTransitGatewayAttachmentType = "aws-transit-gateway-attachment"
)

func (AWSTransitGatewayAttachmentType) ToPointer added in v0.2.0

func (*AWSTransitGatewayAttachmentType) UnmarshalJSON added in v0.2.0

func (e *AWSTransitGatewayAttachmentType) UnmarshalJSON(data []byte) error

type Active

type Active struct {
	Concurrency            *int64            `json:"concurrency,omitempty"`
	Headers                map[string]string `json:"headers,omitempty"`
	Healthy                *Healthy          `json:"healthy,omitempty"`
	HTTPPath               *string           `json:"http_path,omitempty"`
	HTTPSSni               *string           `json:"https_sni,omitempty"`
	HTTPSVerifyCertificate *bool             `json:"https_verify_certificate,omitempty"`
	Timeout                *float64          `json:"timeout,omitempty"`
	Type                   *Type             `json:"type,omitempty"`
	Unhealthy              *Unhealthy        `json:"unhealthy,omitempty"`
}

func (*Active) DeepCopy

func (in *Active) DeepCopy() *Active

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Active.

func (*Active) DeepCopyInto

func (in *Active) DeepCopyInto(out *Active)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Active) GetConcurrency

func (o *Active) GetConcurrency() *int64

func (*Active) GetHTTPPath

func (o *Active) GetHTTPPath() *string

func (*Active) GetHTTPSSni

func (o *Active) GetHTTPSSni() *string

func (*Active) GetHTTPSVerifyCertificate

func (o *Active) GetHTTPSVerifyCertificate() *bool

func (*Active) GetHeaders

func (o *Active) GetHeaders() map[string]string

func (*Active) GetHealthy

func (o *Active) GetHealthy() *Healthy

func (*Active) GetTimeout

func (o *Active) GetTimeout() *float64

func (*Active) GetType

func (o *Active) GetType() *Type

func (*Active) GetUnhealthy

func (o *Active) GetUnhealthy() *Unhealthy

type AddSystemAccountToTeam

type AddSystemAccountToTeam struct {
	// ID of the system account.
	AccountID *string `json:"id,omitempty"`
}

AddSystemAccountToTeam - The request schema for adding a system account to a team.

func (*AddSystemAccountToTeam) GetAccountID

func (o *AddSystemAccountToTeam) GetAccountID() *string

type AddUserToTeam

type AddUserToTeam struct {
	// The user ID for the user being added to a team.
	UserID string `json:"id"`
}

AddUserToTeam - The request schema for adding a user to a team.

func (*AddUserToTeam) GetUserID

func (o *AddUserToTeam) GetUserID() string

type Admin

type Admin struct {
	Name        RolesControlPlanesName `json:"name"`
	Description Description            `json:"description"`
}

func (*Admin) GetDescription

func (o *Admin) GetDescription() Description

func (*Admin) GetName

func (o *Admin) GetName() RolesControlPlanesName

type After

type After struct {
	Access []string `json:"access,omitempty"`
}

func (*After) GetAccess

func (o *After) GetAccess() []string

type Algorithm

type Algorithm string
const (
	AlgorithmHs256 Algorithm = "HS256"
	AlgorithmHs384 Algorithm = "HS384"
	AlgorithmHs512 Algorithm = "HS512"
	AlgorithmRs256 Algorithm = "RS256"
	AlgorithmRs384 Algorithm = "RS384"
	AlgorithmRs512 Algorithm = "RS512"
	AlgorithmEs256 Algorithm = "ES256"
	AlgorithmEs384 Algorithm = "ES384"
	AlgorithmEs512 Algorithm = "ES512"
	AlgorithmPs256 Algorithm = "PS256"
	AlgorithmPs384 Algorithm = "PS384"
	AlgorithmPs512 Algorithm = "PS512"
	AlgorithmEdDsa Algorithm = "EdDSA"
)

func (Algorithm) ToPointer

func (e Algorithm) ToPointer() *Algorithm

func (*Algorithm) UnmarshalJSON

func (e *Algorithm) UnmarshalJSON(data []byte) error

type ApplicationRegistration

type ApplicationRegistration struct {
	Name        RolesAPIProductsRolesApplicationRegistrationName `json:"name"`
	Description RolesAPIProductsRolesDescription                 `json:"description"`
}

func (*ApplicationRegistration) GetDescription

func (*ApplicationRegistration) GetName

type AssignRole

type AssignRole struct {
	// The desired role.
	RoleName *RoleName `json:"role_name,omitempty"`
	// The ID of the entity.
	EntityID *string `json:"entity_id,omitempty"`
	// The type of entity.
	EntityTypeName *EntityTypeName `json:"entity_type_name,omitempty"`
	EntityRegion   *EntityRegion   `json:"entity_region,omitempty"`
}

AssignRole - An assigned role is a role that has been assigned to a user or team.

func (*AssignRole) GetEntityID

func (o *AssignRole) GetEntityID() *string

func (*AssignRole) GetEntityRegion

func (o *AssignRole) GetEntityRegion() *EntityRegion

func (*AssignRole) GetEntityTypeName

func (o *AssignRole) GetEntityTypeName() *EntityTypeName

func (*AssignRole) GetRoleName

func (o *AssignRole) GetRoleName() *RoleName

type AssignedRole

type AssignedRole struct {
	// The ID of the role assignment.
	ID *string `json:"id,omitempty"`
	// Name of the role being assigned.
	RoleName *string `json:"role_name,omitempty"`
	// A RBAC entity ID.
	EntityID *string `json:"entity_id,omitempty"`
	// Name of the entity type the role is being assigned to.
	EntityTypeName *string       `json:"entity_type_name,omitempty"`
	EntityRegion   *EntityRegion `json:"entity_region,omitempty"`
}

AssignedRole - An assigned role is a role that has been assigned to a user or team.

func (*AssignedRole) GetEntityID

func (o *AssignedRole) GetEntityID() *string

func (*AssignedRole) GetEntityRegion

func (o *AssignedRole) GetEntityRegion() *EntityRegion

func (*AssignedRole) GetEntityTypeName

func (o *AssignedRole) GetEntityTypeName() *string

func (*AssignedRole) GetID

func (o *AssignedRole) GetID() *string

func (*AssignedRole) GetRoleName

func (o *AssignedRole) GetRoleName() *string

type AssignedRoleCollection

type AssignedRoleCollection struct {
	// returns the pagination information
	Meta *PaginatedMeta `json:"meta,omitempty"`
	// An Array
	Data []AssignedRole `json:"data,omitempty"`
}

AssignedRoleCollection - A paginated list response for a collection of assigned roles.

func (*AssignedRoleCollection) GetData

func (o *AssignedRoleCollection) GetData() []AssignedRole

func (*AssignedRoleCollection) GetMeta

func (o *AssignedRoleCollection) GetMeta() *PaginatedMeta

type AuditLogs

type AuditLogs struct {
	Name  RolesAuditLogsName  `json:"name"`
	Roles RolesAuditLogsRoles `json:"roles"`
}

func (*AuditLogs) GetName

func (o *AuditLogs) GetName() RolesAuditLogsName

func (*AuditLogs) GetRoles

func (o *AuditLogs) GetRoles() RolesAuditLogsRoles

type AuthType

type AuthType string

AuthType - The auth type value of the cluster associated with the Runtime Group.

const (
	AuthTypePinnedClientCerts AuthType = "pinned_client_certs"
	AuthTypePkiClientCerts    AuthType = "pki_client_certs"
)

func (AuthType) ToPointer

func (e AuthType) ToPointer() *AuthType

func (*AuthType) UnmarshalJSON

func (e *AuthType) UnmarshalJSON(data []byte) error

type AuthenticationSettings

type AuthenticationSettings struct {
	// The organization has basic auth enabled.
	BasicAuthEnabled *bool `json:"basic_auth_enabled,omitempty"`
	// The organization has OIDC disabled.
	OidcAuthEnabled *bool `json:"oidc_auth_enabled,omitempty"`
	// The organization has SAML disabled.
	SamlAuthEnabled *bool `json:"saml_auth_enabled,omitempty"`
	// IdP groups determine the Konnect teams a user has.
	IdpMappingEnabled *bool `json:"idp_mapping_enabled,omitempty"`
	// A Konnect Identity Admin assigns teams to a user.
	KonnectMappingEnabled *bool `json:"konnect_mapping_enabled,omitempty"`
}

AuthenticationSettings - Response for authentication settings endpoint

func (*AuthenticationSettings) GetBasicAuthEnabled

func (o *AuthenticationSettings) GetBasicAuthEnabled() *bool

func (*AuthenticationSettings) GetIdpMappingEnabled

func (o *AuthenticationSettings) GetIdpMappingEnabled() *bool

func (*AuthenticationSettings) GetKonnectMappingEnabled

func (o *AuthenticationSettings) GetKonnectMappingEnabled() *bool

func (*AuthenticationSettings) GetOidcAuthEnabled

func (o *AuthenticationSettings) GetOidcAuthEnabled() *bool

func (*AuthenticationSettings) GetSamlAuthEnabled

func (o *AuthenticationSettings) GetSamlAuthEnabled() *bool

type AvailabilityDocument added in v0.2.0

type AvailabilityDocument struct {
	// List of supported gateway versions for cloud gateways.
	Versions []string `json:"versions"`
	// List of supported instance types, along with their associated resource parameters and pricing.
	InstanceTypes []InstanceType `json:"instance_types"`
	// List of supported cloud providers that run cloud gateway instances.
	Providers []Provider `json:"providers"`
}

AvailabilityDocument - Document containing availability information for configurations.

func (*AvailabilityDocument) GetInstanceTypes added in v0.2.0

func (o *AvailabilityDocument) GetInstanceTypes() []InstanceType

func (*AvailabilityDocument) GetProviders added in v0.2.0

func (o *AvailabilityDocument) GetProviders() []Provider

func (*AvailabilityDocument) GetVersions added in v0.2.0

func (o *AvailabilityDocument) GetVersions() []string

type AwsTransitGatewayAttachmentConfig added in v0.2.0

type AwsTransitGatewayAttachmentConfig struct {
	Kind AWSTransitGatewayAttachmentType `json:"kind"`
	// AWS Transit Gateway ID to create attachment to.
	TransitGatewayID string `json:"transit_gateway_id"`
	// Resource Share ARN to verify request to create transit gateway attachment.
	RAMShareArn string `json:"ram_share_arn"`
}

func (*AwsTransitGatewayAttachmentConfig) GetKind added in v0.2.0

func (*AwsTransitGatewayAttachmentConfig) GetRAMShareArn added in v0.2.0

func (o *AwsTransitGatewayAttachmentConfig) GetRAMShareArn() string

func (*AwsTransitGatewayAttachmentConfig) GetTransitGatewayID added in v0.2.0

func (o *AwsTransitGatewayAttachmentConfig) GetTransitGatewayID() string

type AwsTransitGatewayResponse added in v0.2.0

type AwsTransitGatewayResponse struct {
	// Human-readable name of the transit gateway.
	Name string `json:"name"`
	// List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway
	// attachment.
	//
	DNSConfig []TransitGatewayDNSConfig `json:"dns_config"`
	// CIDR blocks for constructing a route table for the transit gateway, when attaching to the owning
	// network.
	//
	CidrBlocks                     []string                          `json:"cidr_blocks"`
	TransitGatewayAttachmentConfig AwsTransitGatewayAttachmentConfig `json:"transit_gateway_attachment_config"`
	ID                             string                            `json:"id"`
	// State of the transit gateway.
	State TransitGatewayState `json:"state"`
	// Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the
	// transit gateway.
	//
	EntityVersion int64 `json:"entity_version"`
	// An RFC-3339 timestamp representation of transit gateway creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of transit gateway update date.
	UpdatedAt time.Time `json:"updated_at"`
}

func (*AwsTransitGatewayResponse) GetCidrBlocks added in v0.2.0

func (o *AwsTransitGatewayResponse) GetCidrBlocks() []string

func (*AwsTransitGatewayResponse) GetCreatedAt added in v0.2.0

func (o *AwsTransitGatewayResponse) GetCreatedAt() time.Time

func (*AwsTransitGatewayResponse) GetDNSConfig added in v0.2.0

func (*AwsTransitGatewayResponse) GetEntityVersion added in v0.2.0

func (o *AwsTransitGatewayResponse) GetEntityVersion() int64

func (*AwsTransitGatewayResponse) GetID added in v0.2.0

func (o *AwsTransitGatewayResponse) GetID() string

func (*AwsTransitGatewayResponse) GetName added in v0.2.0

func (o *AwsTransitGatewayResponse) GetName() string

func (*AwsTransitGatewayResponse) GetState added in v0.2.0

func (*AwsTransitGatewayResponse) GetTransitGatewayAttachmentConfig added in v0.2.0

func (o *AwsTransitGatewayResponse) GetTransitGatewayAttachmentConfig() AwsTransitGatewayAttachmentConfig

func (*AwsTransitGatewayResponse) GetUpdatedAt added in v0.2.0

func (o *AwsTransitGatewayResponse) GetUpdatedAt() time.Time

func (AwsTransitGatewayResponse) MarshalJSON added in v0.2.0

func (a AwsTransitGatewayResponse) MarshalJSON() ([]byte, error)

func (*AwsTransitGatewayResponse) UnmarshalJSON added in v0.2.0

func (a *AwsTransitGatewayResponse) UnmarshalJSON(data []byte) error

type AzureTransitGateway added in v0.2.0

type AzureTransitGateway struct {
	// Human-readable name of the transit gateway.
	Name string `json:"name"`
	// List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway
	// attachment.
	//
	DNSConfig                      []TransitGatewayDNSConfig        `json:"dns_config,omitempty"`
	TransitGatewayAttachmentConfig AzureVNETPeeringAttachmentConfig `json:"transit_gateway_attachment_config"`
}

func (*AzureTransitGateway) GetDNSConfig added in v0.2.0

func (o *AzureTransitGateway) GetDNSConfig() []TransitGatewayDNSConfig

func (*AzureTransitGateway) GetName added in v0.2.0

func (o *AzureTransitGateway) GetName() string

func (*AzureTransitGateway) GetTransitGatewayAttachmentConfig added in v0.2.0

func (o *AzureTransitGateway) GetTransitGatewayAttachmentConfig() AzureVNETPeeringAttachmentConfig

type AzureTransitGatewayResponse added in v0.2.0

type AzureTransitGatewayResponse struct {
	// Human-readable name of the transit gateway.
	Name string `json:"name"`
	// List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway
	// attachment.
	//
	DNSConfig                      []TransitGatewayDNSConfig        `json:"dns_config"`
	TransitGatewayAttachmentConfig AzureVNETPeeringAttachmentConfig `json:"transit_gateway_attachment_config"`
	ID                             string                           `json:"id"`
	// State of the transit gateway.
	State TransitGatewayState `json:"state"`
	// Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the
	// transit gateway.
	//
	EntityVersion int64 `json:"entity_version"`
	// An RFC-3339 timestamp representation of transit gateway creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of transit gateway update date.
	UpdatedAt time.Time `json:"updated_at"`
}

func (*AzureTransitGatewayResponse) GetCreatedAt added in v0.2.0

func (o *AzureTransitGatewayResponse) GetCreatedAt() time.Time

func (*AzureTransitGatewayResponse) GetDNSConfig added in v0.2.0

func (*AzureTransitGatewayResponse) GetEntityVersion added in v0.2.0

func (o *AzureTransitGatewayResponse) GetEntityVersion() int64

func (*AzureTransitGatewayResponse) GetID added in v0.2.0

func (*AzureTransitGatewayResponse) GetName added in v0.2.0

func (o *AzureTransitGatewayResponse) GetName() string

func (*AzureTransitGatewayResponse) GetState added in v0.2.0

func (*AzureTransitGatewayResponse) GetTransitGatewayAttachmentConfig added in v0.2.0

func (o *AzureTransitGatewayResponse) GetTransitGatewayAttachmentConfig() AzureVNETPeeringAttachmentConfig

func (*AzureTransitGatewayResponse) GetUpdatedAt added in v0.2.0

func (o *AzureTransitGatewayResponse) GetUpdatedAt() time.Time

func (AzureTransitGatewayResponse) MarshalJSON added in v0.2.0

func (a AzureTransitGatewayResponse) MarshalJSON() ([]byte, error)

func (*AzureTransitGatewayResponse) UnmarshalJSON added in v0.2.0

func (a *AzureTransitGatewayResponse) UnmarshalJSON(data []byte) error

type AzureVNETPeeringAttachmentConfig added in v0.2.0

type AzureVNETPeeringAttachmentConfig struct {
	Kind AzureVNETPeeringAttachmentType `json:"kind"`
	// Tenant ID for the Azure VNET Peering attachment.
	TenantID string `json:"tenant_id"`
	// Subscription ID for the Azure VNET Peering attachment.
	SubscriptionID string `json:"subscription_id"`
	// Resource Group Name for the Azure VNET Peering attachment.
	ResourceGroupName string `json:"resource_group_name"`
	// VNET Name for the Azure VNET Peering attachment.
	VnetName string `json:"vnet_name"`
}

func (*AzureVNETPeeringAttachmentConfig) GetKind added in v0.2.0

func (*AzureVNETPeeringAttachmentConfig) GetResourceGroupName added in v0.2.0

func (o *AzureVNETPeeringAttachmentConfig) GetResourceGroupName() string

func (*AzureVNETPeeringAttachmentConfig) GetSubscriptionID added in v0.2.0

func (o *AzureVNETPeeringAttachmentConfig) GetSubscriptionID() string

func (*AzureVNETPeeringAttachmentConfig) GetTenantID added in v0.2.0

func (o *AzureVNETPeeringAttachmentConfig) GetTenantID() string

func (*AzureVNETPeeringAttachmentConfig) GetVnetName added in v0.2.0

func (o *AzureVNETPeeringAttachmentConfig) GetVnetName() string

type AzureVNETPeeringAttachmentType added in v0.2.0

type AzureVNETPeeringAttachmentType string
const (
	AzureVNETPeeringAttachmentTypeAzureVnetPeeringAttachment AzureVNETPeeringAttachmentType = "azure-vnet-peering-attachment"
)

func (AzureVNETPeeringAttachmentType) ToPointer added in v0.2.0

func (*AzureVNETPeeringAttachmentType) UnmarshalJSON added in v0.2.0

func (e *AzureVNETPeeringAttachmentType) UnmarshalJSON(data []byte) error

type BasicAuth

type BasicAuth struct {
	Consumer *BasicAuthConsumer `json:"consumer,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64   `json:"created_at,omitempty"`
	ID        *string  `json:"id,omitempty"`
	Password  string   `json:"password"`
	Tags      []string `json:"tags,omitempty"`
	Username  string   `json:"username"`
}

func (*BasicAuth) GetConsumer

func (o *BasicAuth) GetConsumer() *BasicAuthConsumer

func (*BasicAuth) GetCreatedAt

func (o *BasicAuth) GetCreatedAt() *int64

func (*BasicAuth) GetID

func (o *BasicAuth) GetID() *string

func (*BasicAuth) GetPassword

func (o *BasicAuth) GetPassword() string

func (*BasicAuth) GetTags

func (o *BasicAuth) GetTags() []string

func (*BasicAuth) GetUsername

func (o *BasicAuth) GetUsername() string

type BasicAuthConsumer

type BasicAuthConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*BasicAuthConsumer) GetID

func (o *BasicAuthConsumer) GetID() *string

type BasicAuthWithoutParents

type BasicAuthWithoutParents struct {
	Consumer *BasicAuthWithoutParentsConsumer `json:"consumer,omitempty"`
	ID       *string                          `json:"id,omitempty"`
	Password string                           `json:"password"`
	Tags     []string                         `json:"tags,omitempty"`
	Username string                           `json:"username"`
}

func (*BasicAuthWithoutParents) GetConsumer

func (*BasicAuthWithoutParents) GetID

func (o *BasicAuthWithoutParents) GetID() *string

func (*BasicAuthWithoutParents) GetPassword

func (o *BasicAuthWithoutParents) GetPassword() string

func (*BasicAuthWithoutParents) GetTags

func (o *BasicAuthWithoutParents) GetTags() []string

func (*BasicAuthWithoutParents) GetUsername

func (o *BasicAuthWithoutParents) GetUsername() string

type BasicAuthWithoutParentsConsumer

type BasicAuthWithoutParentsConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*BasicAuthWithoutParentsConsumer) GetID

type Before

type Before struct {
	Access []string `json:"access,omitempty"`
}

func (*Before) GetAccess

func (o *Before) GetAccess() []string

type CACertificate

type CACertificate struct {
	// PEM-encoded public certificate of the CA.
	Cert string `json:"cert"`
	// SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed.
	CertDigest *string `json:"cert_digest,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64  `json:"created_at,omitempty"`
	ID        *string `json:"id,omitempty"`
	// An optional set of strings associated with the Certificate for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

CACertificate - A CA certificate object represents a trusted CA. These objects are used by Kong to verify the validity of a client or server certificate.

func (*CACertificate) GetCert

func (o *CACertificate) GetCert() string

func (*CACertificate) GetCertDigest

func (o *CACertificate) GetCertDigest() *string

func (*CACertificate) GetCreatedAt

func (o *CACertificate) GetCreatedAt() *int64

func (*CACertificate) GetID

func (o *CACertificate) GetID() *string

func (*CACertificate) GetTags

func (o *CACertificate) GetTags() []string

func (*CACertificate) GetUpdatedAt

func (o *CACertificate) GetUpdatedAt() *int64

type CACertificateInput

type CACertificateInput struct {
	// PEM-encoded public certificate of the CA.
	Cert string `json:"cert"`
	// SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed.
	CertDigest *string `json:"cert_digest,omitempty"`
	ID         *string `json:"id,omitempty"`
	// An optional set of strings associated with the Certificate for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

CACertificateInput - A CA certificate object represents a trusted CA. These objects are used by Kong to verify the validity of a client or server certificate.

func (*CACertificateInput) GetCert

func (o *CACertificateInput) GetCert() string

func (*CACertificateInput) GetCertDigest

func (o *CACertificateInput) GetCertDigest() *string

func (*CACertificateInput) GetID

func (o *CACertificateInput) GetID() *string

func (*CACertificateInput) GetTags

func (o *CACertificateInput) GetTags() []string

type Certificate

type Certificate struct {
	// PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	Cert string `json:"cert"`
	// PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	CertAlt *string `json:"cert_alt,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64  `json:"created_at,omitempty"`
	ID        *string `json:"id,omitempty"`
	// PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	Key string `json:"key"`
	// PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	KeyAlt *string  `json:"key_alt,omitempty"`
	Snis   []string `json:"snis,omitempty"`
	// An optional set of strings associated with the Certificate for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

Certificate - A certificate object represents a public certificate, and can be optionally paired with the corresponding private key. These objects are used by Kong to handle SSL/TLS termination for encrypted requests, or for use as a trusted CA store when validating peer certificate of client/service. Certificates are optionally associated with SNI objects to tie a cert/key pair to one or more hostnames. If intermediate certificates are required in addition to the main certificate, they should be concatenated together into one string according to the following order: main certificate on the top, followed by any intermediates.

func (*Certificate) GetCert

func (o *Certificate) GetCert() string

func (*Certificate) GetCertAlt

func (o *Certificate) GetCertAlt() *string

func (*Certificate) GetCreatedAt

func (o *Certificate) GetCreatedAt() *int64

func (*Certificate) GetID

func (o *Certificate) GetID() *string

func (*Certificate) GetKey

func (o *Certificate) GetKey() string

func (*Certificate) GetKeyAlt

func (o *Certificate) GetKeyAlt() *string

func (*Certificate) GetSnis

func (o *Certificate) GetSnis() []string

func (*Certificate) GetTags

func (o *Certificate) GetTags() []string

func (*Certificate) GetUpdatedAt

func (o *Certificate) GetUpdatedAt() *int64

type CertificateAdmin

type CertificateAdmin struct {
	Name        RolesControlPlanesRolesName `json:"name"`
	Description RolesDescription            `json:"description"`
}

func (*CertificateAdmin) GetDescription

func (o *CertificateAdmin) GetDescription() RolesDescription

func (*CertificateAdmin) GetName

type CertificateInput

type CertificateInput struct {
	// PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	Cert string `json:"cert"`
	// PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	CertAlt *string `json:"cert_alt,omitempty"`
	ID      *string `json:"id,omitempty"`
	// PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	Key string `json:"key"`
	// PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).
	KeyAlt *string  `json:"key_alt,omitempty"`
	Snis   []string `json:"snis,omitempty"`
	// An optional set of strings associated with the Certificate for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

CertificateInput - A certificate object represents a public certificate, and can be optionally paired with the corresponding private key. These objects are used by Kong to handle SSL/TLS termination for encrypted requests, or for use as a trusted CA store when validating peer certificate of client/service. Certificates are optionally associated with SNI objects to tie a cert/key pair to one or more hostnames. If intermediate certificates are required in addition to the main certificate, they should be concatenated together into one string according to the following order: main certificate on the top, followed by any intermediates.

func (*CertificateInput) GetCert

func (o *CertificateInput) GetCert() string

func (*CertificateInput) GetCertAlt

func (o *CertificateInput) GetCertAlt() *string

func (*CertificateInput) GetID

func (o *CertificateInput) GetID() *string

func (*CertificateInput) GetKey

func (o *CertificateInput) GetKey() string

func (*CertificateInput) GetKeyAlt

func (o *CertificateInput) GetKeyAlt() *string

func (*CertificateInput) GetSnis

func (o *CertificateInput) GetSnis() []string

func (*CertificateInput) GetTags

func (o *CertificateInput) GetTags() []string

type ClaimMappings

type ClaimMappings struct {
	Name   *string `json:"name,omitempty"`
	Email  *string `json:"email,omitempty"`
	Groups *string `json:"groups,omitempty"`
}

func (*ClaimMappings) GetEmail

func (o *ClaimMappings) GetEmail() *string

func (*ClaimMappings) GetGroups

func (o *ClaimMappings) GetGroups() *string

func (*ClaimMappings) GetName

func (o *ClaimMappings) GetName() *string

type ClientCertificate

type ClientCertificate struct {
	ID *string `json:"id,omitempty"`
}

ClientCertificate - Certificate to be used as client certificate while TLS handshaking to the upstream server.

func (*ClientCertificate) GetID

func (o *ClientCertificate) GetID() *string

type CloudGatewaysStringFieldEqualsFilterOverride added in v0.2.0

type CloudGatewaysStringFieldEqualsFilterOverride struct {
	Str                         *string                      `queryParam:"inline"`
	StringFieldEqualsComparison *StringFieldEqualsComparison `queryParam:"inline"`

	Type CloudGatewaysStringFieldEqualsFilterOverrideType
}

CloudGatewaysStringFieldEqualsFilterOverride - Filters on the given string field value by exact match.

func CreateCloudGatewaysStringFieldEqualsFilterOverrideStr added in v0.2.0

func CreateCloudGatewaysStringFieldEqualsFilterOverrideStr(str string) CloudGatewaysStringFieldEqualsFilterOverride

func CreateCloudGatewaysStringFieldEqualsFilterOverrideStringFieldEqualsComparison added in v0.2.0

func CreateCloudGatewaysStringFieldEqualsFilterOverrideStringFieldEqualsComparison(stringFieldEqualsComparison StringFieldEqualsComparison) CloudGatewaysStringFieldEqualsFilterOverride

func (CloudGatewaysStringFieldEqualsFilterOverride) MarshalJSON added in v0.2.0

func (*CloudGatewaysStringFieldEqualsFilterOverride) UnmarshalJSON added in v0.2.0

func (u *CloudGatewaysStringFieldEqualsFilterOverride) UnmarshalJSON(data []byte) error

type CloudGatewaysStringFieldEqualsFilterOverrideType added in v0.2.0

type CloudGatewaysStringFieldEqualsFilterOverrideType string
const (
	CloudGatewaysStringFieldEqualsFilterOverrideTypeStr                         CloudGatewaysStringFieldEqualsFilterOverrideType = "str"
	CloudGatewaysStringFieldEqualsFilterOverrideTypeStringFieldEqualsComparison CloudGatewaysStringFieldEqualsFilterOverrideType = "StringFieldEqualsComparison"
)

type CloudGatewaysStringFieldFilterOverride added in v0.2.0

type CloudGatewaysStringFieldFilterOverride struct {
	CloudGatewaysStringFieldEqualsFilterOverride *CloudGatewaysStringFieldEqualsFilterOverride `queryParam:"inline"`
	StringFieldContainsFilter                    *StringFieldContainsFilter                    `queryParam:"inline"`
	StringFieldNEQFilter                         *StringFieldNEQFilter                         `queryParam:"inline"`
	StringFieldOEQFilter                         *StringFieldOEQFilter                         `queryParam:"inline"`
	StringFieldOContainsFilter                   *StringFieldOContainsFilter                   `queryParam:"inline"`

	Type CloudGatewaysStringFieldFilterOverrideType
}

func CreateCloudGatewaysStringFieldFilterOverrideCloudGatewaysStringFieldEqualsFilterOverride added in v0.2.0

func CreateCloudGatewaysStringFieldFilterOverrideCloudGatewaysStringFieldEqualsFilterOverride(cloudGatewaysStringFieldEqualsFilterOverride CloudGatewaysStringFieldEqualsFilterOverride) CloudGatewaysStringFieldFilterOverride

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldContainsFilter added in v0.2.0

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldContainsFilter(stringFieldContainsFilter StringFieldContainsFilter) CloudGatewaysStringFieldFilterOverride

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldNEQFilter added in v0.2.0

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldNEQFilter(stringFieldNEQFilter StringFieldNEQFilter) CloudGatewaysStringFieldFilterOverride

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldOContainsFilter added in v0.2.0

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldOContainsFilter(stringFieldOContainsFilter StringFieldOContainsFilter) CloudGatewaysStringFieldFilterOverride

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldOEQFilter added in v0.2.0

func CreateCloudGatewaysStringFieldFilterOverrideStringFieldOEQFilter(stringFieldOEQFilter StringFieldOEQFilter) CloudGatewaysStringFieldFilterOverride

func (CloudGatewaysStringFieldFilterOverride) MarshalJSON added in v0.2.0

func (u CloudGatewaysStringFieldFilterOverride) MarshalJSON() ([]byte, error)

func (*CloudGatewaysStringFieldFilterOverride) UnmarshalJSON added in v0.2.0

func (u *CloudGatewaysStringFieldFilterOverride) UnmarshalJSON(data []byte) error

type CloudGatewaysStringFieldFilterOverrideType added in v0.2.0

type CloudGatewaysStringFieldFilterOverrideType string
const (
	CloudGatewaysStringFieldFilterOverrideTypeCloudGatewaysStringFieldEqualsFilterOverride CloudGatewaysStringFieldFilterOverrideType = "CloudGatewaysStringFieldEqualsFilterOverride"
	CloudGatewaysStringFieldFilterOverrideTypeStringFieldContainsFilter                    CloudGatewaysStringFieldFilterOverrideType = "StringFieldContainsFilter"
	CloudGatewaysStringFieldFilterOverrideTypeStringFieldNEQFilter                         CloudGatewaysStringFieldFilterOverrideType = "StringFieldNEQFilter"
	CloudGatewaysStringFieldFilterOverrideTypeStringFieldOEQFilter                         CloudGatewaysStringFieldFilterOverrideType = "StringFieldOEQFilter"
	CloudGatewaysStringFieldFilterOverrideTypeStringFieldOContainsFilter                   CloudGatewaysStringFieldFilterOverrideType = "StringFieldOContainsFilter"
)

type ClusterType

type ClusterType struct {
	StringFieldEqualsFilter *StringFieldEqualsFilter `queryParam:"inline"`
	StringFieldNEQFilter    *StringFieldNEQFilter    `queryParam:"inline"`

	Type ClusterTypeType
}

func CreateClusterTypeStringFieldEqualsFilter

func CreateClusterTypeStringFieldEqualsFilter(stringFieldEqualsFilter StringFieldEqualsFilter) ClusterType

func CreateClusterTypeStringFieldNEQFilter

func CreateClusterTypeStringFieldNEQFilter(stringFieldNEQFilter StringFieldNEQFilter) ClusterType

func (ClusterType) MarshalJSON

func (u ClusterType) MarshalJSON() ([]byte, error)

func (*ClusterType) UnmarshalJSON

func (u *ClusterType) UnmarshalJSON(data []byte) error

type ClusterTypeType

type ClusterTypeType string
const (
	ClusterTypeTypeStringFieldEqualsFilter ClusterTypeType = "StringFieldEqualsFilter"
	ClusterTypeTypeStringFieldNEQFilter    ClusterTypeType = "StringFieldNEQFilter"
)

type CompatibilityStatus

type CompatibilityStatus struct {
	State *string `json:"state,omitempty"`
}

func (*CompatibilityStatus) GetState

func (o *CompatibilityStatus) GetState() *string

type Config

type Config struct {
	// Control Plane Endpoint.
	ControlPlaneEndpoint string `json:"control_plane_endpoint"`
	// Telemetry Endpoint.
	TelemetryEndpoint string `json:"telemetry_endpoint"`
	// The ClusterType value of the cluster associated with the Control Plane.
	ClusterType ControlPlaneClusterType `json:"cluster_type"`
	// The auth type value of the cluster associated with the Runtime Group.
	AuthType ControlPlaneAuthType `json:"auth_type"`
	// Whether the Control Plane can be used for cloud-gateways.
	CloudGateway bool `json:"cloud_gateway"`
	// Array of proxy URLs associated with reaching the data-planes connected to a control-plane.
	ProxyUrls []ProxyURL `json:"proxy_urls,omitempty"`
}

Config - CP configuration object for related access endpoints.

func (*Config) GetAuthType

func (o *Config) GetAuthType() ControlPlaneAuthType

func (*Config) GetCloudGateway

func (o *Config) GetCloudGateway() bool

func (*Config) GetClusterType

func (o *Config) GetClusterType() ControlPlaneClusterType

func (*Config) GetControlPlaneEndpoint

func (o *Config) GetControlPlaneEndpoint() string

func (*Config) GetProxyUrls

func (o *Config) GetProxyUrls() []ProxyURL

func (*Config) GetTelemetryEndpoint

func (o *Config) GetTelemetryEndpoint() string

type ConfigStore added in v0.1.28

type ConfigStore struct {
	// The Config Store ID.
	ID *string `json:"id,omitempty"`
	// The name of the Config Store
	Name *string `json:"name,omitempty"`
	// An ISO-8601 timestamp representation of entity creation date.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// An ISO-8601 timestamp representation of entity update date.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

func (*ConfigStore) GetCreatedAt added in v0.1.28

func (o *ConfigStore) GetCreatedAt() *time.Time

func (*ConfigStore) GetID added in v0.1.28

func (o *ConfigStore) GetID() *string

func (*ConfigStore) GetName added in v0.1.28

func (o *ConfigStore) GetName() *string

func (*ConfigStore) GetUpdatedAt added in v0.1.28

func (o *ConfigStore) GetUpdatedAt() *time.Time

func (ConfigStore) MarshalJSON added in v0.1.28

func (c ConfigStore) MarshalJSON() ([]byte, error)

func (*ConfigStore) UnmarshalJSON added in v0.1.28

func (c *ConfigStore) UnmarshalJSON(data []byte) error

type ConfigStoreSecret added in v0.1.28

type ConfigStoreSecret struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// An ISO-8601 timestamp representation of entity creation date.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// An ISO-8601 timestamp representation of entity update date.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ConfigStoreSecret - Config Store Secret

func (*ConfigStoreSecret) GetCreatedAt added in v0.1.28

func (o *ConfigStoreSecret) GetCreatedAt() *time.Time

func (*ConfigStoreSecret) GetKey added in v0.1.28

func (o *ConfigStoreSecret) GetKey() *string

func (*ConfigStoreSecret) GetUpdatedAt added in v0.1.28

func (o *ConfigStoreSecret) GetUpdatedAt() *time.Time

func (*ConfigStoreSecret) GetValue added in v0.1.28

func (o *ConfigStoreSecret) GetValue() *string

func (ConfigStoreSecret) MarshalJSON added in v0.1.28

func (c ConfigStoreSecret) MarshalJSON() ([]byte, error)

func (*ConfigStoreSecret) UnmarshalJSON added in v0.1.28

func (c *ConfigStoreSecret) UnmarshalJSON(data []byte) error

type ConfigurationDataPlaneGroup added in v0.2.0

type ConfigurationDataPlaneGroup struct {
	// ID of the data-plane group that represents a deployment target for a set of data-planes.
	ID string `json:"id"`
	// Name of cloud provider.
	Provider ProviderName `json:"provider"`
	// Region ID for cloud provider region.
	Region    string                               `json:"region"`
	Autoscale ConfigurationDataPlaneGroupAutoscale `json:"autoscale"`
	// Array of environment variables to set for a data-plane group.
	Environment           []ConfigurationDataPlaneGroupEnvironmentField `json:"environment,omitempty"`
	CloudGatewayNetworkID string                                        `json:"cloud_gateway_network_id"`
	// State of the data-plane group.
	State State `json:"state"`
	// List of private IP addresses of the internal load balancer that proxies traffic to this data-plane group.
	//
	PrivateIPAddresses []string `json:"private_ip_addresses,omitempty"`
	// List of egress IP addresses for the network that this data-plane group runs on.
	//
	EgressIPAddresses []string `json:"egress_ip_addresses,omitempty"`
	// An RFC-3339 timestamp representation of data-plane group creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of data-plane group update date.
	UpdatedAt time.Time `json:"updated_at"`
}

ConfigurationDataPlaneGroup - Object that describes the set of data-plane groups currently pointed to this configuration.

func (*ConfigurationDataPlaneGroup) GetAutoscale added in v0.2.0

func (*ConfigurationDataPlaneGroup) GetCloudGatewayNetworkID added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetCloudGatewayNetworkID() string

func (*ConfigurationDataPlaneGroup) GetCreatedAt added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetCreatedAt() time.Time

func (*ConfigurationDataPlaneGroup) GetEgressIPAddresses added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetEgressIPAddresses() []string

func (*ConfigurationDataPlaneGroup) GetEnvironment added in v0.2.0

func (*ConfigurationDataPlaneGroup) GetID added in v0.2.0

func (*ConfigurationDataPlaneGroup) GetPrivateIPAddresses added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetPrivateIPAddresses() []string

func (*ConfigurationDataPlaneGroup) GetProvider added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetProvider() ProviderName

func (*ConfigurationDataPlaneGroup) GetRegion added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetRegion() string

func (*ConfigurationDataPlaneGroup) GetState added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetState() State

func (*ConfigurationDataPlaneGroup) GetUpdatedAt added in v0.2.0

func (o *ConfigurationDataPlaneGroup) GetUpdatedAt() time.Time

func (ConfigurationDataPlaneGroup) MarshalJSON added in v0.2.0

func (c ConfigurationDataPlaneGroup) MarshalJSON() ([]byte, error)

func (*ConfigurationDataPlaneGroup) UnmarshalJSON added in v0.2.0

func (c *ConfigurationDataPlaneGroup) UnmarshalJSON(data []byte) error

type ConfigurationDataPlaneGroupAutoscale added in v0.2.0

type ConfigurationDataPlaneGroupAutoscale struct {
	ConfigurationDataPlaneGroupAutoscaleStatic    *ConfigurationDataPlaneGroupAutoscaleStatic    `queryParam:"inline"`
	ConfigurationDataPlaneGroupAutoscaleAutopilot *ConfigurationDataPlaneGroupAutoscaleAutopilot `queryParam:"inline"`

	Type ConfigurationDataPlaneGroupAutoscaleType
}

func CreateConfigurationDataPlaneGroupAutoscaleConfigurationDataPlaneGroupAutoscaleAutopilot added in v0.2.0

func CreateConfigurationDataPlaneGroupAutoscaleConfigurationDataPlaneGroupAutoscaleAutopilot(configurationDataPlaneGroupAutoscaleAutopilot ConfigurationDataPlaneGroupAutoscaleAutopilot) ConfigurationDataPlaneGroupAutoscale

func CreateConfigurationDataPlaneGroupAutoscaleConfigurationDataPlaneGroupAutoscaleStatic added in v0.2.0

func CreateConfigurationDataPlaneGroupAutoscaleConfigurationDataPlaneGroupAutoscaleStatic(configurationDataPlaneGroupAutoscaleStatic ConfigurationDataPlaneGroupAutoscaleStatic) ConfigurationDataPlaneGroupAutoscale

func (ConfigurationDataPlaneGroupAutoscale) MarshalJSON added in v0.2.0

func (u ConfigurationDataPlaneGroupAutoscale) MarshalJSON() ([]byte, error)

func (*ConfigurationDataPlaneGroupAutoscale) UnmarshalJSON added in v0.2.0

func (u *ConfigurationDataPlaneGroupAutoscale) UnmarshalJSON(data []byte) error

type ConfigurationDataPlaneGroupAutoscaleAutopilot added in v0.2.0

type ConfigurationDataPlaneGroupAutoscaleAutopilot struct {
	Kind ConfigurationDataPlaneGroupAutoscaleAutopilotKind `json:"kind"`
	// Base number of requests per second that the deployment target should support.
	BaseRps int64 `json:"base_rps"`
	// Max number of requests per second that the deployment target should support. If not set, this defaults to 10x base_rps.
	MaxRps *int64 `json:"max_rps,omitempty"`
}

ConfigurationDataPlaneGroupAutoscaleAutopilot - Object that describes the autopilot autoscaling strategy.

func (*ConfigurationDataPlaneGroupAutoscaleAutopilot) GetBaseRps added in v0.2.0

func (*ConfigurationDataPlaneGroupAutoscaleAutopilot) GetKind added in v0.2.0

func (*ConfigurationDataPlaneGroupAutoscaleAutopilot) GetMaxRps added in v0.2.0

type ConfigurationDataPlaneGroupAutoscaleAutopilotKind added in v0.2.0

type ConfigurationDataPlaneGroupAutoscaleAutopilotKind string
const (
	ConfigurationDataPlaneGroupAutoscaleAutopilotKindAutopilot ConfigurationDataPlaneGroupAutoscaleAutopilotKind = "autopilot"
)

func (ConfigurationDataPlaneGroupAutoscaleAutopilotKind) ToPointer added in v0.2.0

func (*ConfigurationDataPlaneGroupAutoscaleAutopilotKind) UnmarshalJSON added in v0.2.0

type ConfigurationDataPlaneGroupAutoscaleStatic added in v0.2.0

type ConfigurationDataPlaneGroupAutoscaleStatic struct {
	Kind Kind `json:"kind"`
	// Instance type name to indicate capacity.
	InstanceType InstanceTypeName `json:"instance_type"`
	// Number of data-planes the deployment target will contain.
	RequestedInstances int64 `json:"requested_instances"`
}

ConfigurationDataPlaneGroupAutoscaleStatic - Object that describes the static autoscaling strategy.

func (*ConfigurationDataPlaneGroupAutoscaleStatic) GetInstanceType added in v0.2.0

func (*ConfigurationDataPlaneGroupAutoscaleStatic) GetKind added in v0.2.0

func (*ConfigurationDataPlaneGroupAutoscaleStatic) GetRequestedInstances added in v0.2.0

func (o *ConfigurationDataPlaneGroupAutoscaleStatic) GetRequestedInstances() int64

type ConfigurationDataPlaneGroupAutoscaleType added in v0.2.0

type ConfigurationDataPlaneGroupAutoscaleType string
const (
	ConfigurationDataPlaneGroupAutoscaleTypeConfigurationDataPlaneGroupAutoscaleStatic    ConfigurationDataPlaneGroupAutoscaleType = "ConfigurationDataPlaneGroupAutoscaleStatic"
	ConfigurationDataPlaneGroupAutoscaleTypeConfigurationDataPlaneGroupAutoscaleAutopilot ConfigurationDataPlaneGroupAutoscaleType = "ConfigurationDataPlaneGroupAutoscaleAutopilot"
)

type ConfigurationDataPlaneGroupConfig added in v0.2.0

type ConfigurationDataPlaneGroupConfig struct {
	// Name of cloud provider.
	Provider ProviderName `json:"provider"`
	// Region ID for cloud provider region.
	Region                string                               `json:"region"`
	CloudGatewayNetworkID string                               `json:"cloud_gateway_network_id"`
	Autoscale             ConfigurationDataPlaneGroupAutoscale `json:"autoscale"`
	// Array of environment variables to set for a data-plane group.
	Environment []ConfigurationDataPlaneGroupEnvironmentField `json:"environment,omitempty"`
}

ConfigurationDataPlaneGroupConfig - Object that describes where a data-plane group will be deployed to, along with how many instances.

func (*ConfigurationDataPlaneGroupConfig) GetAutoscale added in v0.2.0

func (*ConfigurationDataPlaneGroupConfig) GetCloudGatewayNetworkID added in v0.2.0

func (o *ConfigurationDataPlaneGroupConfig) GetCloudGatewayNetworkID() string

func (*ConfigurationDataPlaneGroupConfig) GetEnvironment added in v0.2.0

func (*ConfigurationDataPlaneGroupConfig) GetProvider added in v0.2.0

func (*ConfigurationDataPlaneGroupConfig) GetRegion added in v0.2.0

type ConfigurationDataPlaneGroupEnvironmentField added in v0.2.0

type ConfigurationDataPlaneGroupEnvironmentField struct {
	// Name of the environment variable field to set for the data-plane group. Must be prefixed by KONG_.
	//
	Name string `json:"name"`
	// Value assigned to the environment variable field for the data-plane group.
	Value string `json:"value"`
}

ConfigurationDataPlaneGroupEnvironmentField - Environment variable name and value to set for a data-plane group.

func (*ConfigurationDataPlaneGroupEnvironmentField) GetName added in v0.2.0

func (*ConfigurationDataPlaneGroupEnvironmentField) GetValue added in v0.2.0

type ConfigurationManifest added in v0.2.0

type ConfigurationManifest struct {
	ID string `json:"id"`
	// Supported gateway version.
	Version string `json:"version"`
	// Type of API access data-plane groups will support for a configuration.
	APIAccess *APIAccess `default:"private+public" json:"api_access"`
	// Object that describes where data-planes will be deployed to, along with how many instances.
	DataplaneGroupConfig []ConfigurationDataPlaneGroupConfig `json:"dataplane_group_config"`
	// List of data-plane groups that describe where data-planes will be deployed to, along with how many
	// instances.
	//
	DataplaneGroups []ConfigurationDataPlaneGroup `json:"dataplane_groups"`
	// Positive, monotonically increasing version integer, to serialize configuration changes.
	//
	EntityVersion float64 `json:"entity_version"`
	// An RFC-3339 timestamp representation of configuration creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of configuration update date.
	UpdatedAt      time.Time `json:"updated_at"`
	ControlPlaneID string    `json:"control_plane_id"`
	// Set of control-plane geos supported for deploying cloud-gateways configurations.
	ControlPlaneGeo ControlPlaneGeo `json:"control_plane_geo"`
}

ConfigurationManifest - Object containing information about a control-plane's cloud-gateways configuration.

func (*ConfigurationManifest) GetAPIAccess added in v0.2.0

func (o *ConfigurationManifest) GetAPIAccess() *APIAccess

func (*ConfigurationManifest) GetControlPlaneGeo added in v0.2.0

func (o *ConfigurationManifest) GetControlPlaneGeo() ControlPlaneGeo

func (*ConfigurationManifest) GetControlPlaneID added in v0.2.0

func (o *ConfigurationManifest) GetControlPlaneID() string

func (*ConfigurationManifest) GetCreatedAt added in v0.2.0

func (o *ConfigurationManifest) GetCreatedAt() time.Time

func (*ConfigurationManifest) GetDataplaneGroupConfig added in v0.2.0

func (o *ConfigurationManifest) GetDataplaneGroupConfig() []ConfigurationDataPlaneGroupConfig

func (*ConfigurationManifest) GetDataplaneGroups added in v0.2.0

func (o *ConfigurationManifest) GetDataplaneGroups() []ConfigurationDataPlaneGroup

func (*ConfigurationManifest) GetEntityVersion added in v0.2.0

func (o *ConfigurationManifest) GetEntityVersion() float64

func (*ConfigurationManifest) GetID added in v0.2.0

func (o *ConfigurationManifest) GetID() string

func (*ConfigurationManifest) GetUpdatedAt added in v0.2.0

func (o *ConfigurationManifest) GetUpdatedAt() time.Time

func (*ConfigurationManifest) GetVersion added in v0.2.0

func (o *ConfigurationManifest) GetVersion() string

func (ConfigurationManifest) MarshalJSON added in v0.2.0

func (c ConfigurationManifest) MarshalJSON() ([]byte, error)

func (*ConfigurationManifest) UnmarshalJSON added in v0.2.0

func (c *ConfigurationManifest) UnmarshalJSON(data []byte) error

type ConfigurationsFilterParameters added in v0.2.0

type ConfigurationsFilterParameters struct {
	ControlPlaneID  *IDFieldFilter              `queryParam:"name=control_plane_id"`
	ControlPlaneGeo *ControlPlaneGeoFieldFilter `queryParam:"name=control_plane_geo"`
}

func (*ConfigurationsFilterParameters) GetControlPlaneGeo added in v0.2.0

func (*ConfigurationsFilterParameters) GetControlPlaneID added in v0.2.0

func (o *ConfigurationsFilterParameters) GetControlPlaneID() *IDFieldFilter

type Consumer

type Consumer struct {
	// Unix epoch when the resource was created.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or `username` with the request.
	CustomID *string `json:"custom_id,omitempty"`
	ID       *string `json:"id,omitempty"`
	// An optional set of strings associated with the Consumer for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
	// The unique username of the Consumer. You must send either this field or `custom_id` with the request.
	Username *string `json:"username,omitempty"`
}

The Consumer object represents a consumer - or a user - of a Service. You can either rely on Kong as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong and your existing primary datastore.

func (*Consumer) GetCreatedAt

func (o *Consumer) GetCreatedAt() *int64

func (*Consumer) GetCustomID

func (o *Consumer) GetCustomID() *string

func (*Consumer) GetID

func (o *Consumer) GetID() *string

func (*Consumer) GetTags

func (o *Consumer) GetTags() []string

func (*Consumer) GetUpdatedAt

func (o *Consumer) GetUpdatedAt() *int64

func (*Consumer) GetUsername

func (o *Consumer) GetUsername() *string

type ConsumerAdmin

type ConsumerAdmin struct {
	Name        RolesControlPlanesRolesConsumerAdminName `json:"name"`
	Description RolesControlPlanesDescription            `json:"description"`
}

func (*ConsumerAdmin) GetDescription

func (o *ConsumerAdmin) GetDescription() RolesControlPlanesDescription

func (*ConsumerAdmin) GetName

type ConsumerGroup

type ConsumerGroup struct {
	// Unix epoch when the resource was created.
	CreatedAt *int64   `json:"created_at,omitempty"`
	ID        *string  `json:"id,omitempty"`
	Name      string   `json:"name"`
	Tags      []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

func (*ConsumerGroup) GetCreatedAt

func (o *ConsumerGroup) GetCreatedAt() *int64

func (*ConsumerGroup) GetID

func (o *ConsumerGroup) GetID() *string

func (*ConsumerGroup) GetName

func (o *ConsumerGroup) GetName() string

func (*ConsumerGroup) GetTags

func (o *ConsumerGroup) GetTags() []string

func (*ConsumerGroup) GetUpdatedAt

func (o *ConsumerGroup) GetUpdatedAt() *int64

type ConsumerGroupInput

type ConsumerGroupInput struct {
	ID   *string  `json:"id,omitempty"`
	Name string   `json:"name"`
	Tags []string `json:"tags,omitempty"`
}

func (*ConsumerGroupInput) GetID

func (o *ConsumerGroupInput) GetID() *string

func (*ConsumerGroupInput) GetName

func (o *ConsumerGroupInput) GetName() string

func (*ConsumerGroupInput) GetTags

func (o *ConsumerGroupInput) GetTags() []string

type ConsumerGroupInsideWrapper

type ConsumerGroupInsideWrapper struct {
	ConsumerGroup *ConsumerGroup `json:"consumer_group,omitempty"`
}

func (*ConsumerGroupInsideWrapper) GetConsumerGroup

func (o *ConsumerGroupInsideWrapper) GetConsumerGroup() *ConsumerGroup

type ConsumerInput

type ConsumerInput struct {
	// Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or `username` with the request.
	CustomID *string `json:"custom_id,omitempty"`
	ID       *string `json:"id,omitempty"`
	// An optional set of strings associated with the Consumer for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// The unique username of the Consumer. You must send either this field or `custom_id` with the request.
	Username *string `json:"username,omitempty"`
}

ConsumerInput - The Consumer object represents a consumer - or a user - of a Service. You can either rely on Kong as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong and your existing primary datastore.

func (*ConsumerInput) GetCustomID

func (o *ConsumerInput) GetCustomID() *string

func (*ConsumerInput) GetID

func (o *ConsumerInput) GetID() *string

func (*ConsumerInput) GetTags

func (o *ConsumerInput) GetTags() []string

func (*ConsumerInput) GetUsername

func (o *ConsumerInput) GetUsername() *string

type ControlPlane

type ControlPlane struct {
	// The control plane ID.
	ID string `json:"id"`
	// The name of the control plane.
	Name string `json:"name"`
	// The description of the control plane in Konnect.
	Description *string `json:"description,omitempty"`
	// Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
	//
	// Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
	//
	Labels map[string]string `json:"labels,omitempty"`
	// CP configuration object for related access endpoints.
	Config Config `json:"config"`
	// An ISO-8604 timestamp representation of control plane creation date.
	CreatedAt time.Time `json:"created_at"`
	// An ISO-8604 timestamp representation of control plane update date.
	UpdatedAt time.Time `json:"updated_at"`
}

ControlPlane - The control plane object contains information about a Kong control plane.

func (*ControlPlane) GetConfig

func (o *ControlPlane) GetConfig() Config

func (*ControlPlane) GetCreatedAt

func (o *ControlPlane) GetCreatedAt() time.Time

func (*ControlPlane) GetDescription

func (o *ControlPlane) GetDescription() *string

func (*ControlPlane) GetID

func (o *ControlPlane) GetID() string

func (*ControlPlane) GetLabels

func (o *ControlPlane) GetLabels() map[string]string

func (*ControlPlane) GetName

func (o *ControlPlane) GetName() string

func (*ControlPlane) GetUpdatedAt

func (o *ControlPlane) GetUpdatedAt() time.Time

func (ControlPlane) MarshalJSON

func (c ControlPlane) MarshalJSON() ([]byte, error)

func (*ControlPlane) UnmarshalJSON

func (c *ControlPlane) UnmarshalJSON(data []byte) error

type ControlPlaneAuthType

type ControlPlaneAuthType string

ControlPlaneAuthType - The auth type value of the cluster associated with the Runtime Group.

const (
	ControlPlaneAuthTypePinnedClientCerts ControlPlaneAuthType = "pinned_client_certs"
	ControlPlaneAuthTypePkiClientCerts    ControlPlaneAuthType = "pki_client_certs"
)

func (ControlPlaneAuthType) ToPointer

func (*ControlPlaneAuthType) UnmarshalJSON

func (e *ControlPlaneAuthType) UnmarshalJSON(data []byte) error

type ControlPlaneClusterType

type ControlPlaneClusterType string

ControlPlaneClusterType - The ClusterType value of the cluster associated with the Control Plane.

const (
	ControlPlaneClusterTypeClusterTypeControlPlane         ControlPlaneClusterType = "CLUSTER_TYPE_CONTROL_PLANE"
	ControlPlaneClusterTypeClusterTypeK8SIngressController ControlPlaneClusterType = "CLUSTER_TYPE_K8S_INGRESS_CONTROLLER"
	ControlPlaneClusterTypeClusterTypeControlPlaneGroup    ControlPlaneClusterType = "CLUSTER_TYPE_CONTROL_PLANE_GROUP"
	ControlPlaneClusterTypeClusterTypeServerless           ControlPlaneClusterType = "CLUSTER_TYPE_SERVERLESS"
)

func (ControlPlaneClusterType) ToPointer

func (*ControlPlaneClusterType) UnmarshalJSON

func (e *ControlPlaneClusterType) UnmarshalJSON(data []byte) error

type ControlPlaneFilterParameters

type ControlPlaneFilterParameters struct {
	ID          *ID          `queryParam:"name=id"`
	Name        *Name        `queryParam:"name=name"`
	ClusterType *ClusterType `queryParam:"name=cluster_type"`
	// Filter by a boolean value (true/false).
	CloudGateway *bool `queryParam:"name=cloud_gateway"`
}

func (*ControlPlaneFilterParameters) GetCloudGateway

func (o *ControlPlaneFilterParameters) GetCloudGateway() *bool

func (*ControlPlaneFilterParameters) GetClusterType

func (o *ControlPlaneFilterParameters) GetClusterType() *ClusterType

func (*ControlPlaneFilterParameters) GetID

func (o *ControlPlaneFilterParameters) GetID() *ID

func (*ControlPlaneFilterParameters) GetName

func (o *ControlPlaneFilterParameters) GetName() *Name

type ControlPlaneGeo added in v0.2.0

type ControlPlaneGeo string

ControlPlaneGeo - Set of control-plane geos supported for deploying cloud-gateways configurations.

const (
	ControlPlaneGeoUs ControlPlaneGeo = "us"
	ControlPlaneGeoEu ControlPlaneGeo = "eu"
	ControlPlaneGeoAu ControlPlaneGeo = "au"
	ControlPlaneGeoMe ControlPlaneGeo = "me"
	ControlPlaneGeoIn ControlPlaneGeo = "in"
)

func (ControlPlaneGeo) ToPointer added in v0.2.0

func (e ControlPlaneGeo) ToPointer() *ControlPlaneGeo

func (*ControlPlaneGeo) UnmarshalJSON added in v0.2.0

func (e *ControlPlaneGeo) UnmarshalJSON(data []byte) error

type ControlPlaneGeoFieldEqualsComparison added in v0.2.0

type ControlPlaneGeoFieldEqualsComparison struct {
	// Set of control-plane geos supported for deploying cloud-gateways configurations.
	Eq ControlPlaneGeo `queryParam:"name=eq"`
}

func (*ControlPlaneGeoFieldEqualsComparison) GetEq added in v0.2.0

type ControlPlaneGeoFieldEqualsFilter added in v0.2.0

type ControlPlaneGeoFieldEqualsFilter struct {
	ControlPlaneGeo                      *ControlPlaneGeo                      `queryParam:"inline"`
	ControlPlaneGeoFieldEqualsComparison *ControlPlaneGeoFieldEqualsComparison `queryParam:"inline"`

	Type ControlPlaneGeoFieldEqualsFilterType
}

ControlPlaneGeoFieldEqualsFilter - Filter a control-plane geo by exact match.

func CreateControlPlaneGeoFieldEqualsFilterControlPlaneGeo added in v0.2.0

func CreateControlPlaneGeoFieldEqualsFilterControlPlaneGeo(controlPlaneGeo ControlPlaneGeo) ControlPlaneGeoFieldEqualsFilter

func CreateControlPlaneGeoFieldEqualsFilterControlPlaneGeoFieldEqualsComparison added in v0.2.0

func CreateControlPlaneGeoFieldEqualsFilterControlPlaneGeoFieldEqualsComparison(controlPlaneGeoFieldEqualsComparison ControlPlaneGeoFieldEqualsComparison) ControlPlaneGeoFieldEqualsFilter

func (ControlPlaneGeoFieldEqualsFilter) MarshalJSON added in v0.2.0

func (u ControlPlaneGeoFieldEqualsFilter) MarshalJSON() ([]byte, error)

func (*ControlPlaneGeoFieldEqualsFilter) UnmarshalJSON added in v0.2.0

func (u *ControlPlaneGeoFieldEqualsFilter) UnmarshalJSON(data []byte) error

type ControlPlaneGeoFieldEqualsFilterType added in v0.2.0

type ControlPlaneGeoFieldEqualsFilterType string
const (
	ControlPlaneGeoFieldEqualsFilterTypeControlPlaneGeo                      ControlPlaneGeoFieldEqualsFilterType = "ControlPlaneGeo"
	ControlPlaneGeoFieldEqualsFilterTypeControlPlaneGeoFieldEqualsComparison ControlPlaneGeoFieldEqualsFilterType = "ControlPlaneGeoFieldEqualsComparison"
)

type ControlPlaneGeoFieldFilter added in v0.2.0

type ControlPlaneGeoFieldFilter struct {
	ControlPlaneGeoFieldEqualsFilter     *ControlPlaneGeoFieldEqualsFilter     `queryParam:"inline"`
	ControlPlaneGeoFieldNotEqualsFilter  *ControlPlaneGeoFieldNotEqualsFilter  `queryParam:"inline"`
	ControlPlaneGeoFieldOrEqualityFilter *ControlPlaneGeoFieldOrEqualityFilter `queryParam:"inline"`

	Type ControlPlaneGeoFieldFilterType
}

func CreateControlPlaneGeoFieldFilterControlPlaneGeoFieldEqualsFilter added in v0.2.0

func CreateControlPlaneGeoFieldFilterControlPlaneGeoFieldEqualsFilter(controlPlaneGeoFieldEqualsFilter ControlPlaneGeoFieldEqualsFilter) ControlPlaneGeoFieldFilter

func CreateControlPlaneGeoFieldFilterControlPlaneGeoFieldNotEqualsFilter added in v0.2.0

func CreateControlPlaneGeoFieldFilterControlPlaneGeoFieldNotEqualsFilter(controlPlaneGeoFieldNotEqualsFilter ControlPlaneGeoFieldNotEqualsFilter) ControlPlaneGeoFieldFilter

func CreateControlPlaneGeoFieldFilterControlPlaneGeoFieldOrEqualityFilter added in v0.2.0

func CreateControlPlaneGeoFieldFilterControlPlaneGeoFieldOrEqualityFilter(controlPlaneGeoFieldOrEqualityFilter ControlPlaneGeoFieldOrEqualityFilter) ControlPlaneGeoFieldFilter

func (ControlPlaneGeoFieldFilter) MarshalJSON added in v0.2.0

func (u ControlPlaneGeoFieldFilter) MarshalJSON() ([]byte, error)

func (*ControlPlaneGeoFieldFilter) UnmarshalJSON added in v0.2.0

func (u *ControlPlaneGeoFieldFilter) UnmarshalJSON(data []byte) error

type ControlPlaneGeoFieldFilterType added in v0.2.0

type ControlPlaneGeoFieldFilterType string
const (
	ControlPlaneGeoFieldFilterTypeControlPlaneGeoFieldEqualsFilter     ControlPlaneGeoFieldFilterType = "ControlPlaneGeoFieldEqualsFilter"
	ControlPlaneGeoFieldFilterTypeControlPlaneGeoFieldNotEqualsFilter  ControlPlaneGeoFieldFilterType = "ControlPlaneGeoFieldNotEqualsFilter"
	ControlPlaneGeoFieldFilterTypeControlPlaneGeoFieldOrEqualityFilter ControlPlaneGeoFieldFilterType = "ControlPlaneGeoFieldOrEqualityFilter"
)

type ControlPlaneGeoFieldNotEqualsFilter added in v0.2.0

type ControlPlaneGeoFieldNotEqualsFilter struct {
	// Set of control-plane geos supported for deploying cloud-gateways configurations.
	Neq ControlPlaneGeo `queryParam:"name=neq"`
}

ControlPlaneGeoFieldNotEqualsFilter - Filter a control-plane geo by inequality match.

func (*ControlPlaneGeoFieldNotEqualsFilter) GetNeq added in v0.2.0

type ControlPlaneGeoFieldOrEqualityFilter added in v0.2.0

type ControlPlaneGeoFieldOrEqualityFilter struct {
	Oeq string `queryParam:"name=oeq"`
}

ControlPlaneGeoFieldOrEqualityFilter - Filter a control-plane geo by determining if the value is equal to any in a set of values, where the set is a comma-delimited list.

func (*ControlPlaneGeoFieldOrEqualityFilter) GetOeq added in v0.2.0

type ControlPlanes

type ControlPlanes struct {
	Name  RolesName               `json:"name"`
	Roles RolesControlPlanesRoles `json:"roles"`
}

func (*ControlPlanes) GetName

func (o *ControlPlanes) GetName() RolesName

func (*ControlPlanes) GetRoles

func (o *ControlPlanes) GetRoles() RolesControlPlanesRoles

type CreateConfigStore added in v0.1.28

type CreateConfigStore struct {
	Name *string `json:"name,omitempty"`
}

CreateConfigStore - The request schema to create a Config Store.

func (*CreateConfigStore) GetName added in v0.1.28

func (o *CreateConfigStore) GetName() *string

type CreateConfigStoreSecret added in v0.1.28

type CreateConfigStoreSecret struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

func (*CreateConfigStoreSecret) GetKey added in v0.1.28

func (o *CreateConfigStoreSecret) GetKey() string

func (*CreateConfigStoreSecret) GetValue added in v0.1.28

func (o *CreateConfigStoreSecret) GetValue() string

type CreateConfigurationDataPlaneGroup added in v0.2.0

type CreateConfigurationDataPlaneGroup struct {
	// Name of cloud provider.
	Provider ProviderName `json:"provider"`
	// Region ID for cloud provider region.
	Region                string                               `json:"region"`
	CloudGatewayNetworkID string                               `json:"cloud_gateway_network_id"`
	Autoscale             ConfigurationDataPlaneGroupAutoscale `json:"autoscale"`
	// Array of environment variables to set for a data-plane group.
	Environment []ConfigurationDataPlaneGroupEnvironmentField `json:"environment,omitempty"`
}

CreateConfigurationDataPlaneGroup - Object that describes where to deploy a data-plane group, along with how many instances.

func (*CreateConfigurationDataPlaneGroup) GetAutoscale added in v0.2.0

func (*CreateConfigurationDataPlaneGroup) GetCloudGatewayNetworkID added in v0.2.0

func (o *CreateConfigurationDataPlaneGroup) GetCloudGatewayNetworkID() string

func (*CreateConfigurationDataPlaneGroup) GetEnvironment added in v0.2.0

func (*CreateConfigurationDataPlaneGroup) GetProvider added in v0.2.0

func (*CreateConfigurationDataPlaneGroup) GetRegion added in v0.2.0

type CreateConfigurationRequest added in v0.2.0

type CreateConfigurationRequest struct {
	ControlPlaneID string `json:"control_plane_id"`
	// Set of control-plane geos supported for deploying cloud-gateways configurations.
	ControlPlaneGeo ControlPlaneGeo `json:"control_plane_geo"`
	// Supported gateway version.
	Version string `json:"version"`
	// List of data-plane groups that describe where to deploy instances, along with how many instances.
	DataplaneGroups []CreateConfigurationDataPlaneGroup `json:"dataplane_groups"`
	// Type of API access data-plane groups will support for a configuration.
	APIAccess *APIAccess `default:"private+public" json:"api_access"`
}

CreateConfigurationRequest - Request schema for creating a configuration.

func (*CreateConfigurationRequest) GetAPIAccess added in v0.2.0

func (o *CreateConfigurationRequest) GetAPIAccess() *APIAccess

func (*CreateConfigurationRequest) GetControlPlaneGeo added in v0.2.0

func (o *CreateConfigurationRequest) GetControlPlaneGeo() ControlPlaneGeo

func (*CreateConfigurationRequest) GetControlPlaneID added in v0.2.0

func (o *CreateConfigurationRequest) GetControlPlaneID() string

func (*CreateConfigurationRequest) GetDataplaneGroups added in v0.2.0

func (*CreateConfigurationRequest) GetVersion added in v0.2.0

func (o *CreateConfigurationRequest) GetVersion() string

func (CreateConfigurationRequest) MarshalJSON added in v0.2.0

func (c CreateConfigurationRequest) MarshalJSON() ([]byte, error)

func (*CreateConfigurationRequest) UnmarshalJSON added in v0.2.0

func (c *CreateConfigurationRequest) UnmarshalJSON(data []byte) error

type CreateControlPlaneRequest

type CreateControlPlaneRequest struct {
	// The name of the control plane.
	Name string `json:"name"`
	// The description of the control plane in Konnect.
	Description *string `json:"description,omitempty"`
	// The ClusterType value of the cluster associated with the Control Plane.
	ClusterType *CreateControlPlaneRequestClusterType `json:"cluster_type,omitempty"`
	// The auth type value of the cluster associated with the Runtime Group.
	AuthType *AuthType `json:"auth_type,omitempty"`
	// Whether this control-plane can be used for cloud-gateways.
	CloudGateway *bool `json:"cloud_gateway,omitempty"`
	// Array of proxy URLs associated with reaching the data-planes connected to a control-plane.
	ProxyUrls []ProxyURL `json:"proxy_urls,omitempty"`
	// Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
	//
	// Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
	//
	Labels map[string]string `json:"labels,omitempty"`
}

CreateControlPlaneRequest - The request schema for the create control plane request.

func (*CreateControlPlaneRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateControlPlaneRequest.

func (*CreateControlPlaneRequest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CreateControlPlaneRequest) GetAuthType

func (o *CreateControlPlaneRequest) GetAuthType() *AuthType

func (*CreateControlPlaneRequest) GetCloudGateway

func (o *CreateControlPlaneRequest) GetCloudGateway() *bool

func (*CreateControlPlaneRequest) GetClusterType

func (*CreateControlPlaneRequest) GetDescription

func (o *CreateControlPlaneRequest) GetDescription() *string

func (*CreateControlPlaneRequest) GetLabels

func (o *CreateControlPlaneRequest) GetLabels() map[string]string

func (*CreateControlPlaneRequest) GetName

func (o *CreateControlPlaneRequest) GetName() string

func (*CreateControlPlaneRequest) GetProxyUrls

func (o *CreateControlPlaneRequest) GetProxyUrls() []ProxyURL

type CreateControlPlaneRequestClusterType

type CreateControlPlaneRequestClusterType string

CreateControlPlaneRequestClusterType - The ClusterType value of the cluster associated with the Control Plane.

const (
	CreateControlPlaneRequestClusterTypeClusterTypeControlPlane         CreateControlPlaneRequestClusterType = "CLUSTER_TYPE_CONTROL_PLANE"
	CreateControlPlaneRequestClusterTypeClusterTypeK8SIngressController CreateControlPlaneRequestClusterType = "CLUSTER_TYPE_K8S_INGRESS_CONTROLLER"
	CreateControlPlaneRequestClusterTypeClusterTypeControlPlaneGroup    CreateControlPlaneRequestClusterType = "CLUSTER_TYPE_CONTROL_PLANE_GROUP"
	CreateControlPlaneRequestClusterTypeClusterTypeServerless           CreateControlPlaneRequestClusterType = "CLUSTER_TYPE_SERVERLESS"
)

func (CreateControlPlaneRequestClusterType) ToPointer

func (*CreateControlPlaneRequestClusterType) UnmarshalJSON

func (e *CreateControlPlaneRequestClusterType) UnmarshalJSON(data []byte) error

type CreateCustomDomainRequest added in v0.2.0

type CreateCustomDomainRequest struct {
	ControlPlaneID string `json:"control_plane_id"`
	// Set of control-plane geos supported for deploying cloud-gateways configurations.
	ControlPlaneGeo ControlPlaneGeo `json:"control_plane_geo"`
	// Domain name of the custom domain.
	Domain string `json:"domain"`
}

CreateCustomDomainRequest - Request schema for creating a custom domain in the global API.

func (*CreateCustomDomainRequest) GetControlPlaneGeo added in v0.2.0

func (o *CreateCustomDomainRequest) GetControlPlaneGeo() ControlPlaneGeo

func (*CreateCustomDomainRequest) GetControlPlaneID added in v0.2.0

func (o *CreateCustomDomainRequest) GetControlPlaneID() string

func (*CreateCustomDomainRequest) GetDomain added in v0.2.0

func (o *CreateCustomDomainRequest) GetDomain() string

type CreateIdentityProvider added in v0.1.29

type CreateIdentityProvider struct {
	// Specifies the type of identity provider.
	Type *IdentityProviderType `json:"type,omitempty"`
	// The path used for initiating login requests with the identity provider.
	LoginPath *string                       `json:"login_path,omitempty"`
	Config    *CreateIdentityProviderConfig `json:"config,omitempty"`
}

CreateIdentityProvider - The identity provider that contains configuration data for creating an authentication integration.

func (*CreateIdentityProvider) GetConfig added in v0.1.29

func (*CreateIdentityProvider) GetLoginPath added in v0.1.29

func (o *CreateIdentityProvider) GetLoginPath() *string

func (*CreateIdentityProvider) GetType added in v0.1.29

type CreateIdentityProviderConfig added in v0.1.29

type CreateIdentityProviderConfig struct {
	OIDCIdentityProviderConfig      *OIDCIdentityProviderConfig      `queryParam:"inline"`
	SAMLIdentityProviderConfigInput *SAMLIdentityProviderConfigInput `queryParam:"inline"`

	Type CreateIdentityProviderConfigType
}

func CreateCreateIdentityProviderConfigOIDCIdentityProviderConfig added in v0.1.29

func CreateCreateIdentityProviderConfigOIDCIdentityProviderConfig(oidcIdentityProviderConfig OIDCIdentityProviderConfig) CreateIdentityProviderConfig

func CreateCreateIdentityProviderConfigSAMLIdentityProviderConfigInput added in v0.1.29

func CreateCreateIdentityProviderConfigSAMLIdentityProviderConfigInput(samlIdentityProviderConfigInput SAMLIdentityProviderConfigInput) CreateIdentityProviderConfig

func (CreateIdentityProviderConfig) MarshalJSON added in v0.1.29

func (u CreateIdentityProviderConfig) MarshalJSON() ([]byte, error)

func (*CreateIdentityProviderConfig) UnmarshalJSON added in v0.1.29

func (u *CreateIdentityProviderConfig) UnmarshalJSON(data []byte) error

type CreateIdentityProviderConfigType added in v0.1.29

type CreateIdentityProviderConfigType string
const (
	CreateIdentityProviderConfigTypeOIDCIdentityProviderConfig      CreateIdentityProviderConfigType = "OIDCIdentityProviderConfig"
	CreateIdentityProviderConfigTypeSAMLIdentityProviderConfigInput CreateIdentityProviderConfigType = "SAMLIdentityProviderConfig_input"
)

type CreateNetworkRequest added in v0.2.0

type CreateNetworkRequest struct {
	// Human-readable name of the network.
	Name                          string `json:"name"`
	CloudGatewayProviderAccountID string `json:"cloud_gateway_provider_account_id"`
	// Region ID for cloud provider region.
	Region string `json:"region"`
	// List of availability zones that the network is attached to.
	AvailabilityZones []string `json:"availability_zones"`
	// CIDR block configuration for the network.
	CidrBlock string `json:"cidr_block"`
	// Initial state for creating a network.
	State *NetworkCreateState `default:"initializing" json:"state"`
}

CreateNetworkRequest - Request schema for creating a network.

func (*CreateNetworkRequest) DeepCopy added in v0.2.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateNetworkRequest.

func (*CreateNetworkRequest) DeepCopyInto added in v0.2.3

func (in *CreateNetworkRequest) DeepCopyInto(out *CreateNetworkRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CreateNetworkRequest) GetAvailabilityZones added in v0.2.0

func (o *CreateNetworkRequest) GetAvailabilityZones() []string

func (*CreateNetworkRequest) GetCidrBlock added in v0.2.0

func (o *CreateNetworkRequest) GetCidrBlock() string

func (*CreateNetworkRequest) GetCloudGatewayProviderAccountID added in v0.2.0

func (o *CreateNetworkRequest) GetCloudGatewayProviderAccountID() string

func (*CreateNetworkRequest) GetName added in v0.2.0

func (o *CreateNetworkRequest) GetName() string

func (*CreateNetworkRequest) GetRegion added in v0.2.0

func (o *CreateNetworkRequest) GetRegion() string

func (*CreateNetworkRequest) GetState added in v0.2.0

func (CreateNetworkRequest) MarshalJSON added in v0.2.0

func (c CreateNetworkRequest) MarshalJSON() ([]byte, error)

func (*CreateNetworkRequest) UnmarshalJSON added in v0.2.0

func (c *CreateNetworkRequest) UnmarshalJSON(data []byte) error

type CreatePluginSchemas

type CreatePluginSchemas struct {
	// The custom plugin schema; `jq -Rs '.' schema.lua`.
	//
	LuaSchema string `json:"lua_schema"`
}

func (*CreatePluginSchemas) GetLuaSchema

func (o *CreatePluginSchemas) GetLuaSchema() string

type CreateSystemAccount

type CreateSystemAccount struct {
	// Name of the system account.
	Name string `json:"name"`
	// Description of the system account. Useful when the system account name is not sufficient to differentiate one system account from another.
	Description string `json:"description"`
	// The system account is managed by Konnect (true/false).
	KonnectManaged *bool `json:"konnect_managed,omitempty"`
}

CreateSystemAccount - The request schema to create a system account.

func (*CreateSystemAccount) GetDescription

func (o *CreateSystemAccount) GetDescription() string

func (*CreateSystemAccount) GetKonnectManaged

func (o *CreateSystemAccount) GetKonnectManaged() *bool

func (*CreateSystemAccount) GetName

func (o *CreateSystemAccount) GetName() string

type CreateSystemAccountAccessToken

type CreateSystemAccountAccessToken struct {
	Name      *string    `json:"name,omitempty"`
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
}

CreateSystemAccountAccessToken - The request body to create a system account access token.

func (*CreateSystemAccountAccessToken) GetExpiresAt

func (o *CreateSystemAccountAccessToken) GetExpiresAt() *time.Time

func (*CreateSystemAccountAccessToken) GetName

func (o *CreateSystemAccountAccessToken) GetName() *string

func (CreateSystemAccountAccessToken) MarshalJSON

func (c CreateSystemAccountAccessToken) MarshalJSON() ([]byte, error)

func (*CreateSystemAccountAccessToken) UnmarshalJSON

func (c *CreateSystemAccountAccessToken) UnmarshalJSON(data []byte) error

type CreateTeam

type CreateTeam struct {
	// A name for the team being created.
	Name string `json:"name"`
	// The description of the new team.
	Description *string `json:"description,omitempty"`
	// Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
	//
	// Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
	//
	Labels map[string]string `json:"labels,omitempty"`
}

CreateTeam - The request schema for the create team request.

If you pass the same `name` and `description` of an existing team in the request, a team with the same `name` and `description` will be created. The two teams will have different `team_id` values to differentiate them.

func (*CreateTeam) GetDescription

func (o *CreateTeam) GetDescription() *string

func (*CreateTeam) GetLabels

func (o *CreateTeam) GetLabels() map[string]string

func (*CreateTeam) GetName

func (o *CreateTeam) GetName() string

type CreateTransitGatewayRequest added in v0.2.0

type CreateTransitGatewayRequest struct {
	AWSTransitGateway   *AWSTransitGateway   `queryParam:"inline"`
	AzureTransitGateway *AzureTransitGateway `queryParam:"inline"`

	Type CreateTransitGatewayRequestType
}

CreateTransitGatewayRequest - Request schema for creating a transit gateway.

func CreateCreateTransitGatewayRequestAWSTransitGateway added in v0.2.0

func CreateCreateTransitGatewayRequestAWSTransitGateway(awsTransitGateway AWSTransitGateway) CreateTransitGatewayRequest

func CreateCreateTransitGatewayRequestAzureTransitGateway added in v0.2.0

func CreateCreateTransitGatewayRequestAzureTransitGateway(azureTransitGateway AzureTransitGateway) CreateTransitGatewayRequest

func (CreateTransitGatewayRequest) MarshalJSON added in v0.2.0

func (u CreateTransitGatewayRequest) MarshalJSON() ([]byte, error)

func (*CreateTransitGatewayRequest) UnmarshalJSON added in v0.2.0

func (u *CreateTransitGatewayRequest) UnmarshalJSON(data []byte) error

type CreateTransitGatewayRequestType added in v0.2.0

type CreateTransitGatewayRequestType string
const (
	CreateTransitGatewayRequestTypeAWSTransitGateway   CreateTransitGatewayRequestType = "AWS Transit Gateway"
	CreateTransitGatewayRequestTypeAzureTransitGateway CreateTransitGatewayRequestType = "Azure Transit Gateway"
)

type Creator

type Creator struct {
	Name        RolesControlPlanesRolesCreatorName `json:"name"`
	Description RolesControlPlanesRolesDescription `json:"description"`
}

func (*Creator) GetDescription

func (o *Creator) GetDescription() RolesControlPlanesRolesDescription

func (*Creator) GetName

type CursorMeta added in v0.1.28

type CursorMeta struct {
	Page CursorMetaPage `json:"page"`
}

CursorMeta - Pagination metadata.

func (*CursorMeta) GetPage added in v0.1.28

func (o *CursorMeta) GetPage() CursorMetaPage

type CursorMetaPage added in v0.1.28

type CursorMetaPage struct {
	// URI to the first page
	First *string `json:"first,omitempty"`
	// URI to the last page
	Last *string `json:"last,omitempty"`
	// URI to the next page
	Next *string `json:"next"`
	// URI to the previous page
	Previous *string `json:"previous"`
	// Requested page size
	Size float64 `json:"size"`
}

func (*CursorMetaPage) GetFirst added in v0.1.28

func (o *CursorMetaPage) GetFirst() *string

func (*CursorMetaPage) GetLast added in v0.1.28

func (o *CursorMetaPage) GetLast() *string

func (*CursorMetaPage) GetNext added in v0.1.28

func (o *CursorMetaPage) GetNext() *string

func (*CursorMetaPage) GetPrevious added in v0.1.28

func (o *CursorMetaPage) GetPrevious() *string

func (*CursorMetaPage) GetSize added in v0.1.28

func (o *CursorMetaPage) GetSize() float64

type CursorMetaWithSizeAndTotal

type CursorMetaWithSizeAndTotal struct {
	// URI to the next page
	Next *string `json:"next"`
	// Requested page size
	Size float64 `json:"size"`
	// Total number of objects in the collection; will only be present on the first page
	Total *float64 `json:"total"`
}

func (*CursorMetaWithSizeAndTotal) GetNext

func (o *CursorMetaWithSizeAndTotal) GetNext() *string

func (*CursorMetaWithSizeAndTotal) GetSize

func (o *CursorMetaWithSizeAndTotal) GetSize() float64

func (*CursorMetaWithSizeAndTotal) GetTotal

func (o *CursorMetaWithSizeAndTotal) GetTotal() *float64

type CursorPaginatedMetaWithSizeAndTotal

type CursorPaginatedMetaWithSizeAndTotal struct {
	Page CursorMetaWithSizeAndTotal `json:"page"`
}

CursorPaginatedMetaWithSizeAndTotal - returns the pagination information

func (*CursorPaginatedMetaWithSizeAndTotal) GetPage

type CustomDomain added in v0.2.0

type CustomDomain struct {
	ID             string `json:"id"`
	ControlPlaneID string `json:"control_plane_id"`
	// Set of control-plane geos supported for deploying cloud-gateways configurations.
	ControlPlaneGeo ControlPlaneGeo `json:"control_plane_geo"`
	// Domain name of the custom domain.
	Domain string `json:"domain"`
	// Certificate ID for the certificate representing this domain and stored on data-planes for this
	// control-plane. Can be retrieved via the control-planes API for this custom domain's control-plane.
	//
	CertificateID *string `json:"certificate_id,omitempty"`
	// Server Name Indication ID for this domain and stored on data-planes for this control-plane. Can be retrieved
	// via the control-planes API for this custom domain's control-plane.
	//
	SniID *string `json:"sni_id,omitempty"`
	// State of the custom domain.
	State CustomDomainState `json:"state"`
	// Metadata describing the backing state of the custom domain and why it may be in an erroneous state.
	//
	StateMetadata CustomDomainStateMetadata `json:"state_metadata"`
	// Monotonically-increasing version count of the custom domain, to indicate the order of updates to the custom
	// domain.
	//
	EntityVersion int64 `json:"entity_version"`
	// An RFC-3339 timestamp representation of custom domain creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of custom domain update date.
	UpdatedAt time.Time `json:"updated_at"`
}

CustomDomain - Object containing information about a custom domain for a control-plane.

func (*CustomDomain) GetCertificateID added in v0.2.0

func (o *CustomDomain) GetCertificateID() *string

func (*CustomDomain) GetControlPlaneGeo added in v0.2.0

func (o *CustomDomain) GetControlPlaneGeo() ControlPlaneGeo

func (*CustomDomain) GetControlPlaneID added in v0.2.0

func (o *CustomDomain) GetControlPlaneID() string

func (*CustomDomain) GetCreatedAt added in v0.2.0

func (o *CustomDomain) GetCreatedAt() time.Time

func (*CustomDomain) GetDomain added in v0.2.0

func (o *CustomDomain) GetDomain() string

func (*CustomDomain) GetEntityVersion added in v0.2.0

func (o *CustomDomain) GetEntityVersion() int64

func (*CustomDomain) GetID added in v0.2.0

func (o *CustomDomain) GetID() string

func (*CustomDomain) GetSniID added in v0.2.0

func (o *CustomDomain) GetSniID() *string

func (*CustomDomain) GetState added in v0.2.0

func (o *CustomDomain) GetState() CustomDomainState

func (*CustomDomain) GetStateMetadata added in v0.2.0

func (o *CustomDomain) GetStateMetadata() CustomDomainStateMetadata

func (*CustomDomain) GetUpdatedAt added in v0.2.0

func (o *CustomDomain) GetUpdatedAt() time.Time

func (CustomDomain) MarshalJSON added in v0.2.0

func (c CustomDomain) MarshalJSON() ([]byte, error)

func (*CustomDomain) UnmarshalJSON added in v0.2.0

func (c *CustomDomain) UnmarshalJSON(data []byte) error

type CustomDomainOnlinePropertyStatus added in v0.2.0

type CustomDomainOnlinePropertyStatus string

CustomDomainOnlinePropertyStatus - Set of available statuses for the online properties of a custom domain.

const (
	CustomDomainOnlinePropertyStatusVerified   CustomDomainOnlinePropertyStatus = "verified"
	CustomDomainOnlinePropertyStatusUnverified CustomDomainOnlinePropertyStatus = "unverified"
)

func (CustomDomainOnlinePropertyStatus) ToPointer added in v0.2.0

func (*CustomDomainOnlinePropertyStatus) UnmarshalJSON added in v0.2.0

func (e *CustomDomainOnlinePropertyStatus) UnmarshalJSON(data []byte) error

type CustomDomainOnlineStatus added in v0.2.0

type CustomDomainOnlineStatus struct {
	// Set of available statuses for the online properties of a custom domain.
	Cname CustomDomainOnlinePropertyStatus `json:"cname"`
	// Set of available statuses for the online properties of a custom domain.
	Ssl CustomDomainOnlinePropertyStatus `json:"ssl"`
}

CustomDomainOnlineStatus - Response format for retrieving the CNAME and SSL status of a custom domain.

func (*CustomDomainOnlineStatus) GetCname added in v0.2.0

func (*CustomDomainOnlineStatus) GetSsl added in v0.2.0

type CustomDomainState added in v0.2.0

type CustomDomainState string

CustomDomainState - State of the custom domain.

const (
	CustomDomainStateCreated      CustomDomainState = "created"
	CustomDomainStateInitializing CustomDomainState = "initializing"
	CustomDomainStateReady        CustomDomainState = "ready"
	CustomDomainStateTerminating  CustomDomainState = "terminating"
	CustomDomainStateTerminated   CustomDomainState = "terminated"
	CustomDomainStateError        CustomDomainState = "error"
)

func (CustomDomainState) ToPointer added in v0.2.0

func (e CustomDomainState) ToPointer() *CustomDomainState

func (*CustomDomainState) UnmarshalJSON added in v0.2.0

func (e *CustomDomainState) UnmarshalJSON(data []byte) error

type CustomDomainStateFieldEqualsComparison added in v0.2.0

type CustomDomainStateFieldEqualsComparison struct {
}

type CustomDomainStateFieldEqualsFilter added in v0.2.0

type CustomDomainStateFieldEqualsFilter struct {
	CustomDomainState                      *CustomDomainState                      `queryParam:"inline"`
	CustomDomainStateFieldEqualsComparison *CustomDomainStateFieldEqualsComparison `queryParam:"inline"`

	Type CustomDomainStateFieldEqualsFilterType
}

CustomDomainStateFieldEqualsFilter - Filter custom domain state by exact match.

func CreateCustomDomainStateFieldEqualsFilterCustomDomainState added in v0.2.0

func CreateCustomDomainStateFieldEqualsFilterCustomDomainState(customDomainState CustomDomainState) CustomDomainStateFieldEqualsFilter

func CreateCustomDomainStateFieldEqualsFilterCustomDomainStateFieldEqualsComparison added in v0.2.0

func CreateCustomDomainStateFieldEqualsFilterCustomDomainStateFieldEqualsComparison(customDomainStateFieldEqualsComparison CustomDomainStateFieldEqualsComparison) CustomDomainStateFieldEqualsFilter

func (CustomDomainStateFieldEqualsFilter) MarshalJSON added in v0.2.0

func (u CustomDomainStateFieldEqualsFilter) MarshalJSON() ([]byte, error)

func (*CustomDomainStateFieldEqualsFilter) UnmarshalJSON added in v0.2.0

func (u *CustomDomainStateFieldEqualsFilter) UnmarshalJSON(data []byte) error

type CustomDomainStateFieldEqualsFilterType added in v0.2.0

type CustomDomainStateFieldEqualsFilterType string
const (
	CustomDomainStateFieldEqualsFilterTypeCustomDomainState                      CustomDomainStateFieldEqualsFilterType = "CustomDomainState"
	CustomDomainStateFieldEqualsFilterTypeCustomDomainStateFieldEqualsComparison CustomDomainStateFieldEqualsFilterType = "CustomDomainStateFieldEqualsComparison"
)

type CustomDomainStateFieldFilter added in v0.2.0

type CustomDomainStateFieldFilter struct {
	CustomDomainStateFieldEqualsFilter     *CustomDomainStateFieldEqualsFilter     `queryParam:"inline"`
	CustomDomainStateFieldNotEqualsFilter  *CustomDomainStateFieldNotEqualsFilter  `queryParam:"inline"`
	CustomDomainStateFieldOrEqualityFilter *CustomDomainStateFieldOrEqualityFilter `queryParam:"inline"`

	Type CustomDomainStateFieldFilterType
}

func CreateCustomDomainStateFieldFilterCustomDomainStateFieldEqualsFilter added in v0.2.0

func CreateCustomDomainStateFieldFilterCustomDomainStateFieldEqualsFilter(customDomainStateFieldEqualsFilter CustomDomainStateFieldEqualsFilter) CustomDomainStateFieldFilter

func CreateCustomDomainStateFieldFilterCustomDomainStateFieldNotEqualsFilter added in v0.2.0

func CreateCustomDomainStateFieldFilterCustomDomainStateFieldNotEqualsFilter(customDomainStateFieldNotEqualsFilter CustomDomainStateFieldNotEqualsFilter) CustomDomainStateFieldFilter

func CreateCustomDomainStateFieldFilterCustomDomainStateFieldOrEqualityFilter added in v0.2.0

func CreateCustomDomainStateFieldFilterCustomDomainStateFieldOrEqualityFilter(customDomainStateFieldOrEqualityFilter CustomDomainStateFieldOrEqualityFilter) CustomDomainStateFieldFilter

func (CustomDomainStateFieldFilter) MarshalJSON added in v0.2.0

func (u CustomDomainStateFieldFilter) MarshalJSON() ([]byte, error)

func (*CustomDomainStateFieldFilter) UnmarshalJSON added in v0.2.0

func (u *CustomDomainStateFieldFilter) UnmarshalJSON(data []byte) error

type CustomDomainStateFieldFilterType added in v0.2.0

type CustomDomainStateFieldFilterType string
const (
	CustomDomainStateFieldFilterTypeCustomDomainStateFieldEqualsFilter     CustomDomainStateFieldFilterType = "CustomDomainStateFieldEqualsFilter"
	CustomDomainStateFieldFilterTypeCustomDomainStateFieldNotEqualsFilter  CustomDomainStateFieldFilterType = "CustomDomainStateFieldNotEqualsFilter"
	CustomDomainStateFieldFilterTypeCustomDomainStateFieldOrEqualityFilter CustomDomainStateFieldFilterType = "CustomDomainStateFieldOrEqualityFilter"
)

type CustomDomainStateFieldNotEqualsFilter added in v0.2.0

type CustomDomainStateFieldNotEqualsFilter struct {
}

CustomDomainStateFieldNotEqualsFilter - Filter custom domain state by inequality match.

type CustomDomainStateFieldOrEqualityFilter added in v0.2.0

type CustomDomainStateFieldOrEqualityFilter struct {
	Oeq string `queryParam:"name=oeq"`
}

CustomDomainStateFieldOrEqualityFilter - Filter custom domain state by determining if the value is equal to any in a set of values, where the set is a comma-delimited list.

func (*CustomDomainStateFieldOrEqualityFilter) GetOeq added in v0.2.0

type CustomDomainStateMetadata added in v0.2.0

type CustomDomainStateMetadata struct {
	// Reported status of the custom domain from backing infrastructure.
	ReportedStatus *string `json:"reported_status,omitempty"`
	// Reason why the custom domain may be in an erroneous state, reported from backing infrastructure.
	//
	Reason *string `json:"reason,omitempty"`
}

CustomDomainStateMetadata - Metadata describing the backing state of the custom domain and why it may be in an erroneous state.

func (*CustomDomainStateMetadata) GetReason added in v0.2.0

func (o *CustomDomainStateMetadata) GetReason() *string

func (*CustomDomainStateMetadata) GetReportedStatus added in v0.2.0

func (o *CustomDomainStateMetadata) GetReportedStatus() *string

type CustomDomainsFilterParameters added in v0.2.0

type CustomDomainsFilterParameters struct {
	ControlPlaneID  *IDFieldFilter                          `queryParam:"name=control_plane_id"`
	ControlPlaneGeo *ControlPlaneGeoFieldFilter             `queryParam:"name=control_plane_geo"`
	Domain          *CloudGatewaysStringFieldFilterOverride `queryParam:"name=domain"`
	State           *CustomDomainStateFieldFilter           `queryParam:"name=state"`
}

func (*CustomDomainsFilterParameters) GetControlPlaneGeo added in v0.2.0

func (*CustomDomainsFilterParameters) GetControlPlaneID added in v0.2.0

func (o *CustomDomainsFilterParameters) GetControlPlaneID() *IDFieldFilter

func (*CustomDomainsFilterParameters) GetDomain added in v0.2.0

func (*CustomDomainsFilterParameters) GetState added in v0.2.0

type CustomPlugin

type CustomPlugin struct {
	// Unix epoch when the resource was created.
	CreatedAt *int64   `json:"created_at,omitempty"`
	Handler   string   `json:"handler"`
	ID        *string  `json:"id,omitempty"`
	Name      string   `json:"name"`
	Schema    string   `json:"schema"`
	Tags      []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

func (*CustomPlugin) GetCreatedAt

func (o *CustomPlugin) GetCreatedAt() *int64

func (*CustomPlugin) GetHandler

func (o *CustomPlugin) GetHandler() string

func (*CustomPlugin) GetID

func (o *CustomPlugin) GetID() *string

func (*CustomPlugin) GetName

func (o *CustomPlugin) GetName() string

func (*CustomPlugin) GetSchema

func (o *CustomPlugin) GetSchema() string

func (*CustomPlugin) GetTags

func (o *CustomPlugin) GetTags() []string

func (*CustomPlugin) GetUpdatedAt

func (o *CustomPlugin) GetUpdatedAt() *int64

type Data

type Data struct {
	TeamID *string  `json:"team_id,omitempty"`
	Groups []string `json:"groups,omitempty"`
}

func (*Data) GetGroups

func (o *Data) GetGroups() []string

func (*Data) GetTeamID

func (o *Data) GetTeamID() *string

type DataPlaneClientCertificate

type DataPlaneClientCertificate struct {
	Item *DataPlaneClientCertificateItem `json:"item,omitempty"`
}

func (*DataPlaneClientCertificate) GetItem

type DataPlaneClientCertificateItem

type DataPlaneClientCertificateItem struct {
	// Unique ID of the certificate entity.
	ID *string `json:"id,omitempty"`
	// Date certificate was created.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Date certificate was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
	// JSON escaped string of the certificate.
	Cert *string `json:"cert,omitempty"`
}

func (*DataPlaneClientCertificateItem) GetCert

func (o *DataPlaneClientCertificateItem) GetCert() *string

func (*DataPlaneClientCertificateItem) GetCreatedAt

func (o *DataPlaneClientCertificateItem) GetCreatedAt() *int64

func (*DataPlaneClientCertificateItem) GetID

func (*DataPlaneClientCertificateItem) GetUpdatedAt

func (o *DataPlaneClientCertificateItem) GetUpdatedAt() *int64

type DataPlaneClientCertificateRequest

type DataPlaneClientCertificateRequest struct {
	// JSON escaped string of the certificate.
	Cert string `json:"cert"`
}

DataPlaneClientCertificateRequest - Request body for creating a dp-client-certificate.

func (*DataPlaneClientCertificateRequest) GetCert

type DefaultResourceConfiguration added in v0.2.0

type DefaultResourceConfiguration struct {
	ID string `json:"id"`
	// Enumeration of configuration qualifiers available for organization-wide configuration.
	Qualifier ResourceConfigurationQualifier `json:"qualifier"`
	// The human-readable name of this resource configuration.
	Name string `json:"name"`
	// A more verbose description of what this resource configuration enforces.
	Description string `json:"description"`
	// The value of this resource configuration.
	Value int64 `json:"value"`
	// Organizational overrides for this default resource configuration.
	Overrides []ResourceConfiguration `json:"overrides"`
	// An RFC-3339 timestamp representation of default resource configuration creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of default resource configuration update date.
	UpdatedAt time.Time `json:"updated_at"`
}

DefaultResourceConfiguration - Object containing information about a default resource configurations, and any organizational overrides.

func (*DefaultResourceConfiguration) GetCreatedAt added in v0.2.0

func (o *DefaultResourceConfiguration) GetCreatedAt() time.Time

func (*DefaultResourceConfiguration) GetDescription added in v0.2.0

func (o *DefaultResourceConfiguration) GetDescription() string

func (*DefaultResourceConfiguration) GetID added in v0.2.0

func (*DefaultResourceConfiguration) GetName added in v0.2.0

func (o *DefaultResourceConfiguration) GetName() string

func (*DefaultResourceConfiguration) GetOverrides added in v0.2.0

func (*DefaultResourceConfiguration) GetQualifier added in v0.2.0

func (*DefaultResourceConfiguration) GetUpdatedAt added in v0.2.0

func (o *DefaultResourceConfiguration) GetUpdatedAt() time.Time

func (*DefaultResourceConfiguration) GetValue added in v0.2.0

func (o *DefaultResourceConfiguration) GetValue() int64

func (DefaultResourceConfiguration) MarshalJSON added in v0.2.0

func (d DefaultResourceConfiguration) MarshalJSON() ([]byte, error)

func (*DefaultResourceConfiguration) UnmarshalJSON added in v0.2.0

func (d *DefaultResourceConfiguration) UnmarshalJSON(data []byte) error

type DefaultResourceQuota added in v0.2.0

type DefaultResourceQuota struct {
	ID string `json:"id"`
	// Enumeration of resources available for quota enforcement.
	Resource ResourceQuotaQualifier `json:"resource"`
	// The human-readable name of this resource quota.
	Name string `json:"name"`
	// A more verbose description of what this resource quota enforces.
	Description string `json:"description"`
	// The aggregate non-negative integer count of this resource that's allowed for the organization.
	//
	Value int64 `json:"value"`
	// Organizational overrides for this default resource quota.
	Overrides []ResourceQuota `json:"overrides"`
	// An RFC-3339 timestamp representation of default resource quota creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of default resource quota update date.
	UpdatedAt time.Time `json:"updated_at"`
}

DefaultResourceQuota - Object containing information about a default resource quota, and any organizational overrides.

func (*DefaultResourceQuota) GetCreatedAt added in v0.2.0

func (o *DefaultResourceQuota) GetCreatedAt() time.Time

func (*DefaultResourceQuota) GetDescription added in v0.2.0

func (o *DefaultResourceQuota) GetDescription() string

func (*DefaultResourceQuota) GetID added in v0.2.0

func (o *DefaultResourceQuota) GetID() string

func (*DefaultResourceQuota) GetName added in v0.2.0

func (o *DefaultResourceQuota) GetName() string

func (*DefaultResourceQuota) GetOverrides added in v0.2.0

func (o *DefaultResourceQuota) GetOverrides() []ResourceQuota

func (*DefaultResourceQuota) GetResource added in v0.2.0

func (*DefaultResourceQuota) GetUpdatedAt added in v0.2.0

func (o *DefaultResourceQuota) GetUpdatedAt() time.Time

func (*DefaultResourceQuota) GetValue added in v0.2.0

func (o *DefaultResourceQuota) GetValue() int64

func (DefaultResourceQuota) MarshalJSON added in v0.2.0

func (d DefaultResourceQuota) MarshalJSON() ([]byte, error)

func (*DefaultResourceQuota) UnmarshalJSON added in v0.2.0

func (d *DefaultResourceQuota) UnmarshalJSON(data []byte) error

type Deployer

type Deployer struct {
	Name        RolesControlPlanesRolesDeployerName        `json:"name"`
	Description RolesControlPlanesRolesDeployerDescription `json:"description"`
}

func (*Deployer) GetDescription

func (*Deployer) GetName

type Description

type Description string
const (
	DescriptionThisRoleGrantsFullWriteAccessToAllEntitiesWithinAControlPlane Description = "This role grants full write access to all entities within a control plane."
)

func (Description) ToPointer

func (e Description) ToPointer() *Description

func (*Description) UnmarshalJSON

func (e *Description) UnmarshalJSON(data []byte) error

type Destinations

type Destinations struct {
	IP   *string `json:"ip,omitempty"`
	Port *int64  `json:"port,omitempty"`
}

func (*Destinations) DeepCopy

func (in *Destinations) DeepCopy() *Destinations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destinations.

func (*Destinations) DeepCopyInto

func (in *Destinations) DeepCopyInto(out *Destinations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Destinations) GetIP

func (o *Destinations) GetIP() *string

func (*Destinations) GetPort

func (o *Destinations) GetPort() *int64

type EntityRegion

type EntityRegion string

EntityRegion - Region of the entity.

const (
	EntityRegionUs       EntityRegion = "us"
	EntityRegionEu       EntityRegion = "eu"
	EntityRegionAu       EntityRegion = "au"
	EntityRegionMe       EntityRegion = "me"
	EntityRegionIn       EntityRegion = "in"
	EntityRegionWildcard EntityRegion = "*"
)

func (EntityRegion) ToPointer

func (e EntityRegion) ToPointer() *EntityRegion

func (*EntityRegion) UnmarshalJSON

func (e *EntityRegion) UnmarshalJSON(data []byte) error

type EntityTypeName

type EntityTypeName string

EntityTypeName - The type of entity.

const (
	EntityTypeNameApIs                      EntityTypeName = "APIs"
	EntityTypeNameAPIProducts               EntityTypeName = "API Products"
	EntityTypeNameApplicationAuthStrategies EntityTypeName = "Application Auth Strategies"
	EntityTypeNameAuditLogs                 EntityTypeName = "Audit Logs"
	EntityTypeNameControlPlanes             EntityTypeName = "Control Planes"
	EntityTypeNameDcrProviders              EntityTypeName = "DCR Providers"
	EntityTypeNameIdentity                  EntityTypeName = "Identity"
	EntityTypeNameMeshControlPlanes         EntityTypeName = "Mesh Control Planes"
	EntityTypeNameNetworks                  EntityTypeName = "Networks"
	EntityTypeNamePortals                   EntityTypeName = "Portals"
	EntityTypeNameServiceHub                EntityTypeName = "Service Hub"
)

func (EntityTypeName) ToPointer

func (e EntityTypeName) ToPointer() *EntityTypeName

func (*EntityTypeName) UnmarshalJSON

func (e *EntityTypeName) UnmarshalJSON(data []byte) error

type GatewayServiceAdmin

type GatewayServiceAdmin struct {
	Name        RolesControlPlanesRolesGatewayServiceAdminName        `json:"name"`
	Description RolesControlPlanesRolesGatewayServiceAdminDescription `json:"description"`
}

func (*GatewayServiceAdmin) GetDescription

func (*GatewayServiceAdmin) GetName

type GetExpectedConfigHashResponse

type GetExpectedConfigHashResponse struct {
	// The expected configuration hash.
	ExpectedHash string `json:"expected_hash"`
	// Date the control plane configuration was created.
	CreatedAt int64 `json:"created_at"`
	// Date the control plane configuration was last updated.
	UpdatedAt int64 `json:"updated_at"`
}

GetExpectedConfigHashResponse - Response body for retrieving the expected config hash of the control plane.

func (*GetExpectedConfigHashResponse) GetCreatedAt

func (o *GetExpectedConfigHashResponse) GetCreatedAt() int64

func (*GetExpectedConfigHashResponse) GetExpectedHash

func (o *GetExpectedConfigHashResponse) GetExpectedHash() string

func (*GetExpectedConfigHashResponse) GetUpdatedAt

func (o *GetExpectedConfigHashResponse) GetUpdatedAt() int64

type GetGroupStatus

type GetGroupStatus struct {
	// The Group Status object contains information about the status of a control plane group.
	Item *GroupStatus `json:"item,omitempty"`
}

GetGroupStatus - Status of a control plane group, including existing conflicts.

func (*GetGroupStatus) GetItem

func (o *GetGroupStatus) GetItem() *GroupStatus

type GetImpersonationSettingsResponse

type GetImpersonationSettingsResponse struct {
	// The organization has user impersonation enabled.
	Enabled *bool `json:"enabled,omitempty"`
}

GetImpersonationSettingsResponse - Response for Get Impersonation Settings endpoint

func (*GetImpersonationSettingsResponse) GetEnabled

func (o *GetImpersonationSettingsResponse) GetEnabled() *bool

type GetNode

type GetNode struct {
	Item *GetNodeItem `json:"item,omitempty"`
}

GetNode - Example response

func (*GetNode) GetItem

func (o *GetNode) GetItem() *GetNodeItem

type GetNodeCompatibilityStatus

type GetNodeCompatibilityStatus struct {
	State *string `json:"state,omitempty"`
}

func (*GetNodeCompatibilityStatus) GetState

func (o *GetNodeCompatibilityStatus) GetState() *string

type GetNodeItem

type GetNodeItem struct {
	ID                  *string                     `json:"id,omitempty"`
	Version             *string                     `json:"version,omitempty"`
	Hostname            *string                     `json:"hostname,omitempty"`
	LastPing            *int64                      `json:"last_ping,omitempty"`
	Type                *string                     `json:"type,omitempty"`
	CreatedAt           *int64                      `json:"created_at,omitempty"`
	UpdatedAt           *int64                      `json:"updated_at,omitempty"`
	ConfigHash          *string                     `json:"config_hash,omitempty"`
	CompatibilityStatus *GetNodeCompatibilityStatus `json:"compatibility_status,omitempty"`
}

func (*GetNodeItem) GetCompatibilityStatus

func (o *GetNodeItem) GetCompatibilityStatus() *GetNodeCompatibilityStatus

func (*GetNodeItem) GetConfigHash

func (o *GetNodeItem) GetConfigHash() *string

func (*GetNodeItem) GetCreatedAt

func (o *GetNodeItem) GetCreatedAt() *int64

func (*GetNodeItem) GetHostname

func (o *GetNodeItem) GetHostname() *string

func (*GetNodeItem) GetID

func (o *GetNodeItem) GetID() *string

func (*GetNodeItem) GetLastPing

func (o *GetNodeItem) GetLastPing() *int64

func (*GetNodeItem) GetType

func (o *GetNodeItem) GetType() *string

func (*GetNodeItem) GetUpdatedAt

func (o *GetNodeItem) GetUpdatedAt() *int64

func (*GetNodeItem) GetVersion

func (o *GetNodeItem) GetVersion() *string

type GroupConflict

type GroupConflict struct {
	// The ID of a control plane member of a control plane group.
	ClusterID string `json:"cluster_id"`
	// The description of the conflict.
	Description string `json:"description"`
	// A resource causing a conflict in a control plane group.
	Resource GroupConflictResource `json:"resource"`
}

GroupConflict - The Group Conflict object contains information about a conflict in a control plane group.

func (*GroupConflict) GetClusterID

func (o *GroupConflict) GetClusterID() string

func (*GroupConflict) GetDescription

func (o *GroupConflict) GetDescription() string

func (*GroupConflict) GetResource

func (o *GroupConflict) GetResource() GroupConflictResource

type GroupConflictResource

type GroupConflictResource struct {
	// The ID of the resource.
	ID string `json:"id"`
	// The type of the resource.
	Type string `json:"type"`
}

GroupConflictResource - A resource causing a conflict in a control plane group.

func (*GroupConflictResource) GetID

func (o *GroupConflictResource) GetID() string

func (*GroupConflictResource) GetType

func (o *GroupConflictResource) GetType() string

type GroupMemberStatus

type GroupMemberStatus struct {
	// Boolean indicating if a control plane is a member of a control plane group.
	IsMember bool `json:"is_member"`
}

GroupMemberStatus - Object with information determining the group membership status of a control plane.

func (*GroupMemberStatus) GetIsMember

func (o *GroupMemberStatus) GetIsMember() bool

type GroupMembership

type GroupMembership struct {
	Members []Members `json:"members"`
}

GroupMembership - Request body for upserting a list of child control planes to a control plane group membership.

func (*GroupMembership) GetMembers

func (o *GroupMembership) GetMembers() []Members

type GroupStatus

type GroupStatus struct {
	// The control plane group ID.
	ID string `json:"id"`
	// An ISO-8604 timestamp representation of control plane group status creation date.
	CreatedAt time.Time `json:"created_at"`
	// An ISO-8604 timestamp representation of control plane group status update date.
	UpdatedAt time.Time       `json:"updated_at"`
	Conflicts []GroupConflict `json:"conflicts,omitempty"`
	// The state of the control plane group.
	State GroupStatusState `json:"state"`
}

GroupStatus - The Group Status object contains information about the status of a control plane group.

func (*GroupStatus) GetConflicts

func (o *GroupStatus) GetConflicts() []GroupConflict

func (*GroupStatus) GetCreatedAt

func (o *GroupStatus) GetCreatedAt() time.Time

func (*GroupStatus) GetID

func (o *GroupStatus) GetID() string

func (*GroupStatus) GetState

func (o *GroupStatus) GetState() GroupStatusState

func (*GroupStatus) GetUpdatedAt

func (o *GroupStatus) GetUpdatedAt() time.Time

func (GroupStatus) MarshalJSON

func (g GroupStatus) MarshalJSON() ([]byte, error)

func (*GroupStatus) UnmarshalJSON

func (g *GroupStatus) UnmarshalJSON(data []byte) error

type GroupStatusState added in v0.2.0

type GroupStatusState string

GroupStatusState - The state of the control plane group.

const (
	GroupStatusStateOk       GroupStatusState = "OK"
	GroupStatusStateConflict GroupStatusState = "CONFLICT"
	GroupStatusStateUnknown  GroupStatusState = "UNKNOWN"
)

func (GroupStatusState) ToPointer added in v0.2.0

func (e GroupStatusState) ToPointer() *GroupStatusState

func (*GroupStatusState) UnmarshalJSON added in v0.2.0

func (e *GroupStatusState) UnmarshalJSON(data []byte) error

type HMACAuth

type HMACAuth struct {
	Consumer *HMACAuthConsumer `json:"consumer,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64   `json:"created_at,omitempty"`
	ID        *string  `json:"id,omitempty"`
	Secret    *string  `json:"secret,omitempty"`
	Tags      []string `json:"tags,omitempty"`
	Username  string   `json:"username"`
}

func (*HMACAuth) GetConsumer

func (o *HMACAuth) GetConsumer() *HMACAuthConsumer

func (*HMACAuth) GetCreatedAt

func (o *HMACAuth) GetCreatedAt() *int64

func (*HMACAuth) GetID

func (o *HMACAuth) GetID() *string

func (*HMACAuth) GetSecret

func (o *HMACAuth) GetSecret() *string

func (*HMACAuth) GetTags

func (o *HMACAuth) GetTags() []string

func (*HMACAuth) GetUsername

func (o *HMACAuth) GetUsername() string

type HMACAuthConsumer

type HMACAuthConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*HMACAuthConsumer) GetID

func (o *HMACAuthConsumer) GetID() *string

type HMACAuthWithoutParents

type HMACAuthWithoutParents struct {
	Consumer *HMACAuthWithoutParentsConsumer `json:"consumer,omitempty"`
	ID       *string                         `json:"id,omitempty"`
	Secret   *string                         `json:"secret,omitempty"`
	Tags     []string                        `json:"tags,omitempty"`
	Username string                          `json:"username"`
}

func (*HMACAuthWithoutParents) GetConsumer

func (*HMACAuthWithoutParents) GetID

func (o *HMACAuthWithoutParents) GetID() *string

func (*HMACAuthWithoutParents) GetSecret

func (o *HMACAuthWithoutParents) GetSecret() *string

func (*HMACAuthWithoutParents) GetTags

func (o *HMACAuthWithoutParents) GetTags() []string

func (*HMACAuthWithoutParents) GetUsername

func (o *HMACAuthWithoutParents) GetUsername() string

type HMACAuthWithoutParentsConsumer

type HMACAuthWithoutParentsConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*HMACAuthWithoutParentsConsumer) GetID

type HTTPSRedirectStatusCode

type HTTPSRedirectStatusCode int64

HTTPSRedirectStatusCode - The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol.

const (
	HTTPSRedirectStatusCodeFourHundredAndTwentySix HTTPSRedirectStatusCode = 426
	HTTPSRedirectStatusCodeThreeHundredAndOne      HTTPSRedirectStatusCode = 301
	HTTPSRedirectStatusCodeThreeHundredAndTwo      HTTPSRedirectStatusCode = 302
	HTTPSRedirectStatusCodeThreeHundredAndSeven    HTTPSRedirectStatusCode = 307
	HTTPSRedirectStatusCodeThreeHundredAndEight    HTTPSRedirectStatusCode = 308
)

func (HTTPSRedirectStatusCode) ToPointer

func (*HTTPSRedirectStatusCode) UnmarshalJSON

func (e *HTTPSRedirectStatusCode) UnmarshalJSON(data []byte) error

type HashFallback

type HashFallback string

HashFallback - What to use as hashing input if the primary `hash_on` does not return a hash (eg. header is missing, or no Consumer identified). Not available if `hash_on` is set to `cookie`.

const (
	HashFallbackNone       HashFallback = "none"
	HashFallbackConsumer   HashFallback = "consumer"
	HashFallbackIP         HashFallback = "ip"
	HashFallbackHeader     HashFallback = "header"
	HashFallbackCookie     HashFallback = "cookie"
	HashFallbackPath       HashFallback = "path"
	HashFallbackQueryArg   HashFallback = "query_arg"
	HashFallbackURICapture HashFallback = "uri_capture"
)

func (HashFallback) ToPointer

func (e HashFallback) ToPointer() *HashFallback

func (*HashFallback) UnmarshalJSON

func (e *HashFallback) UnmarshalJSON(data []byte) error

type HashOn

type HashOn string

HashOn - What to use as hashing input. Using `none` results in a weighted-round-robin scheme with no hashing.

const (
	HashOnNone       HashOn = "none"
	HashOnConsumer   HashOn = "consumer"
	HashOnIP         HashOn = "ip"
	HashOnHeader     HashOn = "header"
	HashOnCookie     HashOn = "cookie"
	HashOnPath       HashOn = "path"
	HashOnQueryArg   HashOn = "query_arg"
	HashOnURICapture HashOn = "uri_capture"
)

func (HashOn) ToPointer

func (e HashOn) ToPointer() *HashOn

func (*HashOn) UnmarshalJSON

func (e *HashOn) UnmarshalJSON(data []byte) error

type Healthchecks

type Healthchecks struct {
	Active    *Active  `json:"active,omitempty"`
	Passive   *Passive `json:"passive,omitempty"`
	Threshold *float64 `json:"threshold,omitempty"`
}

func (*Healthchecks) DeepCopy

func (in *Healthchecks) DeepCopy() *Healthchecks

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Healthchecks.

func (*Healthchecks) DeepCopyInto

func (in *Healthchecks) DeepCopyInto(out *Healthchecks)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Healthchecks) GetActive

func (o *Healthchecks) GetActive() *Active

func (*Healthchecks) GetPassive

func (o *Healthchecks) GetPassive() *Passive

func (*Healthchecks) GetThreshold

func (o *Healthchecks) GetThreshold() *float64

type Healthy

type Healthy struct {
	HTTPStatuses []int64  `json:"http_statuses,omitempty"`
	Interval     *float64 `json:"interval,omitempty"`
	Successes    *int64   `json:"successes,omitempty"`
}

func (*Healthy) DeepCopy

func (in *Healthy) DeepCopy() *Healthy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Healthy.

func (*Healthy) DeepCopyInto

func (in *Healthy) DeepCopyInto(out *Healthy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Healthy) GetHTTPStatuses

func (o *Healthy) GetHTTPStatuses() []int64

func (*Healthy) GetInterval

func (o *Healthy) GetInterval() *float64

func (*Healthy) GetSuccesses

func (o *Healthy) GetSuccesses() *int64

type ID

type ID struct {
	StringFieldEqualsFilter *StringFieldEqualsFilter `queryParam:"inline"`
	StringFieldOEQFilter    *StringFieldOEQFilter    `queryParam:"inline"`

	Type IDType
}

func CreateIDStringFieldEqualsFilter

func CreateIDStringFieldEqualsFilter(stringFieldEqualsFilter StringFieldEqualsFilter) ID

func CreateIDStringFieldOEQFilter

func CreateIDStringFieldOEQFilter(stringFieldOEQFilter StringFieldOEQFilter) ID

func (ID) MarshalJSON

func (u ID) MarshalJSON() ([]byte, error)

func (*ID) UnmarshalJSON

func (u *ID) UnmarshalJSON(data []byte) error

type IDFieldFilter added in v0.2.0

type IDFieldFilter struct {
	StringFieldEqualsFilter *StringFieldEqualsFilter `queryParam:"inline"`
	StringFieldNEQFilter    *StringFieldNEQFilter    `queryParam:"inline"`
	StringFieldOEQFilter    *StringFieldOEQFilter    `queryParam:"inline"`

	Type IDFieldFilterType
}

func CreateIDFieldFilterStringFieldEqualsFilter added in v0.2.0

func CreateIDFieldFilterStringFieldEqualsFilter(stringFieldEqualsFilter StringFieldEqualsFilter) IDFieldFilter

func CreateIDFieldFilterStringFieldNEQFilter added in v0.2.0

func CreateIDFieldFilterStringFieldNEQFilter(stringFieldNEQFilter StringFieldNEQFilter) IDFieldFilter

func CreateIDFieldFilterStringFieldOEQFilter added in v0.2.0

func CreateIDFieldFilterStringFieldOEQFilter(stringFieldOEQFilter StringFieldOEQFilter) IDFieldFilter

func (IDFieldFilter) MarshalJSON added in v0.2.0

func (u IDFieldFilter) MarshalJSON() ([]byte, error)

func (*IDFieldFilter) UnmarshalJSON added in v0.2.0

func (u *IDFieldFilter) UnmarshalJSON(data []byte) error

type IDFieldFilterType added in v0.2.0

type IDFieldFilterType string
const (
	IDFieldFilterTypeStringFieldEqualsFilter IDFieldFilterType = "StringFieldEqualsFilter"
	IDFieldFilterTypeStringFieldNEQFilter    IDFieldFilterType = "StringFieldNEQFilter"
	IDFieldFilterTypeStringFieldOEQFilter    IDFieldFilterType = "StringFieldOEQFilter"
)

type IDP

type IDP struct {
	Issuer        *string        `json:"issuer,omitempty"`
	LoginPath     *string        `json:"login_path,omitempty"`
	ClientID      *string        `json:"client_id,omitempty"`
	Scopes        []string       `json:"scopes,omitempty"`
	ClaimMappings *ClaimMappings `json:"claim_mappings,omitempty"`
}

IDP - The IdP object contains the configuration data for the OIDC authentication integration.

NOTE: The `openid` scope is required. Removing it could break the OIDC integration.

func (*IDP) GetClaimMappings

func (o *IDP) GetClaimMappings() *ClaimMappings

func (*IDP) GetClientID

func (o *IDP) GetClientID() *string

func (*IDP) GetIssuer

func (o *IDP) GetIssuer() *string

func (*IDP) GetLoginPath

func (o *IDP) GetLoginPath() *string

func (*IDP) GetScopes

func (o *IDP) GetScopes() []string

type IDType

type IDType string
const (
	IDTypeStringFieldEqualsFilter IDType = "StringFieldEqualsFilter"
	IDTypeStringFieldOEQFilter    IDType = "StringFieldOEQFilter"
)

type Identity

type Identity struct {
	Name  RolesIdentityName  `json:"name"`
	Roles RolesIdentityRoles `json:"roles"`
}

func (*Identity) GetName

func (o *Identity) GetName() RolesIdentityName

func (*Identity) GetRoles

func (o *Identity) GetRoles() RolesIdentityRoles

type IdentityProvider added in v0.1.29

type IdentityProvider struct {
	// Contains a unique identifier used by the API for this resource.
	ID *string `json:"id,omitempty"`
	// Specifies the type of identity provider.
	Type *IdentityProviderType `json:"type,omitempty"`
	// Indicates whether the identity provider is enabled.
	// Only one identity provider can be active at a time, such as SAML or OIDC.
	//
	Enabled *bool `default:"false" json:"enabled"`
	// The path used for initiating login requests with the identity provider.
	LoginPath *string                 `json:"login_path,omitempty"`
	Config    *IdentityProviderConfig `json:"config,omitempty"`
	// An ISO-8601 timestamp representation of entity creation date.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// An ISO-8601 timestamp representation of entity update date.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

IdentityProvider - The identity provider that contains configuration data for authentication integration.

func (*IdentityProvider) GetConfig added in v0.1.29

func (o *IdentityProvider) GetConfig() *IdentityProviderConfig

func (*IdentityProvider) GetCreatedAt added in v0.1.29

func (o *IdentityProvider) GetCreatedAt() *time.Time

func (*IdentityProvider) GetEnabled added in v0.1.29

func (o *IdentityProvider) GetEnabled() *bool

func (*IdentityProvider) GetID added in v0.1.29

func (o *IdentityProvider) GetID() *string

func (*IdentityProvider) GetLoginPath added in v0.1.29

func (o *IdentityProvider) GetLoginPath() *string

func (*IdentityProvider) GetType added in v0.1.29

func (o *IdentityProvider) GetType() *IdentityProviderType

func (*IdentityProvider) GetUpdatedAt added in v0.1.29

func (o *IdentityProvider) GetUpdatedAt() *time.Time

func (IdentityProvider) MarshalJSON added in v0.1.29

func (i IdentityProvider) MarshalJSON() ([]byte, error)

func (*IdentityProvider) UnmarshalJSON added in v0.1.29

func (i *IdentityProvider) UnmarshalJSON(data []byte) error

type IdentityProviderConfig added in v0.1.29

type IdentityProviderConfig struct {
	OIDCIdentityProviderConfig *OIDCIdentityProviderConfig `queryParam:"inline"`
	SAMLIdentityProviderConfig *SAMLIdentityProviderConfig `queryParam:"inline"`

	Type IdentityProviderConfigType
}

func CreateIdentityProviderConfigOIDCIdentityProviderConfig added in v0.1.29

func CreateIdentityProviderConfigOIDCIdentityProviderConfig(oidcIdentityProviderConfig OIDCIdentityProviderConfig) IdentityProviderConfig

func CreateIdentityProviderConfigSAMLIdentityProviderConfig added in v0.1.29

func CreateIdentityProviderConfigSAMLIdentityProviderConfig(samlIdentityProviderConfig SAMLIdentityProviderConfig) IdentityProviderConfig

func (IdentityProviderConfig) MarshalJSON added in v0.1.29

func (u IdentityProviderConfig) MarshalJSON() ([]byte, error)

func (*IdentityProviderConfig) UnmarshalJSON added in v0.1.29

func (u *IdentityProviderConfig) UnmarshalJSON(data []byte) error

type IdentityProviderConfigType added in v0.1.29

type IdentityProviderConfigType string
const (
	IdentityProviderConfigTypeOIDCIdentityProviderConfig IdentityProviderConfigType = "OIDCIdentityProviderConfig"
	IdentityProviderConfigTypeSAMLIdentityProviderConfig IdentityProviderConfigType = "SAMLIdentityProviderConfig"
)

type IdentityProviderType added in v0.1.29

type IdentityProviderType string

IdentityProviderType - Specifies the type of identity provider.

const (
	IdentityProviderTypeOidc IdentityProviderType = "oidc"
	IdentityProviderTypeSaml IdentityProviderType = "saml"
)

func (IdentityProviderType) ToPointer added in v0.1.29

func (*IdentityProviderType) UnmarshalJSON added in v0.1.29

func (e *IdentityProviderType) UnmarshalJSON(data []byte) error

type InstanceType added in v0.2.0

type InstanceType struct {
	// Instance type name to indicate capacity.
	Name InstanceTypeName `json:"name"`
	// Hourly cost to run a single cloud gateway instance of this instance type.
	HourlyCost string `json:"hourly_cost"`
	// Number of virtual CPUs available to a cloud gateway instance of this instance type.
	VCPU string `json:"v_cpu"`
	// Number of gigabytes of memory available to a cloud gateway instance of this instance type.
	GbMemory string `json:"gb_memory"`
}

InstanceType - Resource parameters and pricing of a given supported instance type.

func (*InstanceType) GetGbMemory added in v0.2.0

func (o *InstanceType) GetGbMemory() string

func (*InstanceType) GetHourlyCost added in v0.2.0

func (o *InstanceType) GetHourlyCost() string

func (*InstanceType) GetName added in v0.2.0

func (o *InstanceType) GetName() InstanceTypeName

func (*InstanceType) GetVCPU added in v0.2.0

func (o *InstanceType) GetVCPU() string

type InstanceTypeName added in v0.2.0

type InstanceTypeName string

InstanceTypeName - Instance type name to indicate capacity.

const (
	InstanceTypeNameSmall  InstanceTypeName = "small"
	InstanceTypeNameMedium InstanceTypeName = "medium"
	InstanceTypeNameLarge  InstanceTypeName = "large"
)

func (InstanceTypeName) ToPointer added in v0.2.0

func (e InstanceTypeName) ToPointer() *InstanceTypeName

func (*InstanceTypeName) UnmarshalJSON added in v0.2.0

func (e *InstanceTypeName) UnmarshalJSON(data []byte) error

type InvalidParameterChoiceItem

type InvalidParameterChoiceItem struct {
	Field string `json:"field"`
	// invalid parameters rules
	Rule    InvalidParameterChoiceItemRule `json:"rule"`
	Reason  string                         `json:"reason"`
	Choices []any                          `json:"choices"`
	Source  *string                        `json:"source,omitempty"`
}

func (*InvalidParameterChoiceItem) GetChoices

func (o *InvalidParameterChoiceItem) GetChoices() []any

func (*InvalidParameterChoiceItem) GetField

func (o *InvalidParameterChoiceItem) GetField() string

func (*InvalidParameterChoiceItem) GetReason

func (o *InvalidParameterChoiceItem) GetReason() string

func (*InvalidParameterChoiceItem) GetRule

func (*InvalidParameterChoiceItem) GetSource

func (o *InvalidParameterChoiceItem) GetSource() *string

type InvalidParameterChoiceItemRule

type InvalidParameterChoiceItemRule string

InvalidParameterChoiceItemRule - invalid parameters rules

const (
	InvalidParameterChoiceItemRuleEnum InvalidParameterChoiceItemRule = "enum"
)

func (InvalidParameterChoiceItemRule) ToPointer

func (*InvalidParameterChoiceItemRule) UnmarshalJSON

func (e *InvalidParameterChoiceItemRule) UnmarshalJSON(data []byte) error

type InvalidParameterDependentItem

type InvalidParameterDependentItem struct {
	Field string `json:"field"`
	// invalid parameters rules
	Rule       *InvalidParameterDependentItemRule `json:"rule"`
	Reason     string                             `json:"reason"`
	Dependents []any                              `json:"dependents"`
	Source     *string                            `json:"source,omitempty"`
}

func (*InvalidParameterDependentItem) GetDependents

func (o *InvalidParameterDependentItem) GetDependents() []any

func (*InvalidParameterDependentItem) GetField

func (o *InvalidParameterDependentItem) GetField() string

func (*InvalidParameterDependentItem) GetReason

func (o *InvalidParameterDependentItem) GetReason() string

func (*InvalidParameterDependentItem) GetRule

func (*InvalidParameterDependentItem) GetSource

func (o *InvalidParameterDependentItem) GetSource() *string

type InvalidParameterDependentItemRule

type InvalidParameterDependentItemRule string

InvalidParameterDependentItemRule - invalid parameters rules

const (
	InvalidParameterDependentItemRuleDependentFields InvalidParameterDependentItemRule = "dependent_fields"
)

func (InvalidParameterDependentItemRule) ToPointer

func (*InvalidParameterDependentItemRule) UnmarshalJSON

func (e *InvalidParameterDependentItemRule) UnmarshalJSON(data []byte) error

type InvalidParameterMaximumLength

type InvalidParameterMaximumLength struct {
	Field string `json:"field"`
	// invalid parameters rules
	Rule    InvalidParameterMaximumLengthRule `json:"rule"`
	Maximum int64                             `json:"maximum"`
	Source  *string                           `json:"source,omitempty"`
	Reason  string                            `json:"reason"`
}

func (*InvalidParameterMaximumLength) GetField

func (o *InvalidParameterMaximumLength) GetField() string

func (*InvalidParameterMaximumLength) GetMaximum

func (o *InvalidParameterMaximumLength) GetMaximum() int64

func (*InvalidParameterMaximumLength) GetReason

func (o *InvalidParameterMaximumLength) GetReason() string

func (*InvalidParameterMaximumLength) GetRule

func (*InvalidParameterMaximumLength) GetSource

func (o *InvalidParameterMaximumLength) GetSource() *string

type InvalidParameterMaximumLengthRule

type InvalidParameterMaximumLengthRule string

InvalidParameterMaximumLengthRule - invalid parameters rules

const (
	InvalidParameterMaximumLengthRuleMaxLength InvalidParameterMaximumLengthRule = "max_length"
	InvalidParameterMaximumLengthRuleMaxItems  InvalidParameterMaximumLengthRule = "max_items"
	InvalidParameterMaximumLengthRuleMax       InvalidParameterMaximumLengthRule = "max"
)

func (InvalidParameterMaximumLengthRule) ToPointer

func (*InvalidParameterMaximumLengthRule) UnmarshalJSON

func (e *InvalidParameterMaximumLengthRule) UnmarshalJSON(data []byte) error

type InvalidParameterMinimumLength

type InvalidParameterMinimumLength struct {
	Field string `json:"field"`
	// invalid parameters rules
	Rule    Rule    `json:"rule"`
	Minimum int64   `json:"minimum"`
	Source  *string `json:"source,omitempty"`
	Reason  string  `json:"reason"`
}

func (*InvalidParameterMinimumLength) GetField

func (o *InvalidParameterMinimumLength) GetField() string

func (*InvalidParameterMinimumLength) GetMinimum

func (o *InvalidParameterMinimumLength) GetMinimum() int64

func (*InvalidParameterMinimumLength) GetReason

func (o *InvalidParameterMinimumLength) GetReason() string

func (*InvalidParameterMinimumLength) GetRule

func (o *InvalidParameterMinimumLength) GetRule() Rule

func (*InvalidParameterMinimumLength) GetSource

func (o *InvalidParameterMinimumLength) GetSource() *string

type InvalidParameterStandard

type InvalidParameterStandard struct {
	Field string `json:"field"`
	// invalid parameters rules
	Rule   *InvalidRules `json:"rule,omitempty"`
	Source *string       `json:"source,omitempty"`
	Reason string        `json:"reason"`
}

func (*InvalidParameterStandard) GetField

func (o *InvalidParameterStandard) GetField() string

func (*InvalidParameterStandard) GetReason

func (o *InvalidParameterStandard) GetReason() string

func (*InvalidParameterStandard) GetRule

func (o *InvalidParameterStandard) GetRule() *InvalidRules

func (*InvalidParameterStandard) GetSource

func (o *InvalidParameterStandard) GetSource() *string

type InvalidParameters

type InvalidParameters struct {
	InvalidParameterStandard      *InvalidParameterStandard      `queryParam:"inline"`
	InvalidParameterMinimumLength *InvalidParameterMinimumLength `queryParam:"inline"`
	InvalidParameterMaximumLength *InvalidParameterMaximumLength `queryParam:"inline"`
	InvalidParameterChoiceItem    *InvalidParameterChoiceItem    `queryParam:"inline"`
	InvalidParameterDependentItem *InvalidParameterDependentItem `queryParam:"inline"`

	Type InvalidParametersType
}

func CreateInvalidParametersInvalidParameterChoiceItem

func CreateInvalidParametersInvalidParameterChoiceItem(invalidParameterChoiceItem InvalidParameterChoiceItem) InvalidParameters

func CreateInvalidParametersInvalidParameterDependentItem

func CreateInvalidParametersInvalidParameterDependentItem(invalidParameterDependentItem InvalidParameterDependentItem) InvalidParameters

func CreateInvalidParametersInvalidParameterMaximumLength

func CreateInvalidParametersInvalidParameterMaximumLength(invalidParameterMaximumLength InvalidParameterMaximumLength) InvalidParameters

func CreateInvalidParametersInvalidParameterMinimumLength

func CreateInvalidParametersInvalidParameterMinimumLength(invalidParameterMinimumLength InvalidParameterMinimumLength) InvalidParameters

func CreateInvalidParametersInvalidParameterStandard

func CreateInvalidParametersInvalidParameterStandard(invalidParameterStandard InvalidParameterStandard) InvalidParameters

func (InvalidParameters) MarshalJSON

func (u InvalidParameters) MarshalJSON() ([]byte, error)

func (*InvalidParameters) UnmarshalJSON

func (u *InvalidParameters) UnmarshalJSON(data []byte) error

type InvalidParametersType

type InvalidParametersType string
const (
	InvalidParametersTypeInvalidParameterStandard      InvalidParametersType = "InvalidParameterStandard"
	InvalidParametersTypeInvalidParameterMinimumLength InvalidParametersType = "InvalidParameterMinimumLength"
	InvalidParametersTypeInvalidParameterMaximumLength InvalidParametersType = "InvalidParameterMaximumLength"
	InvalidParametersTypeInvalidParameterChoiceItem    InvalidParametersType = "InvalidParameterChoiceItem"
	InvalidParametersTypeInvalidParameterDependentItem InvalidParametersType = "InvalidParameterDependentItem"
)

type InvalidRules

type InvalidRules string

InvalidRules - invalid parameters rules

const (
	InvalidRulesRequired                               InvalidRules = "required"
	InvalidRulesIsArray                                InvalidRules = "is_array"
	InvalidRulesIsBase64                               InvalidRules = "is_base64"
	InvalidRulesIsBoolean                              InvalidRules = "is_boolean"
	InvalidRulesIsDateTime                             InvalidRules = "is_date_time"
	InvalidRulesIsInteger                              InvalidRules = "is_integer"
	InvalidRulesIsNull                                 InvalidRules = "is_null"
	InvalidRulesIsNumber                               InvalidRules = "is_number"
	InvalidRulesIsObject                               InvalidRules = "is_object"
	InvalidRulesIsString                               InvalidRules = "is_string"
	InvalidRulesIsUUID                                 InvalidRules = "is_uuid"
	InvalidRulesIsFqdn                                 InvalidRules = "is_fqdn"
	InvalidRulesIsArn                                  InvalidRules = "is_arn"
	InvalidRulesUnknownProperty                        InvalidRules = "unknown_property"
	InvalidRulesMissingReference                       InvalidRules = "missing_reference"
	InvalidRulesIsLabel                                InvalidRules = "is_label"
	InvalidRulesMatchesRegex                           InvalidRules = "matches_regex"
	InvalidRulesInvalid                                InvalidRules = "invalid"
	InvalidRulesIsSupportedNetworkAvailabilityZoneList InvalidRules = "is_supported_network_availability_zone_list"
	InvalidRulesIsSupportedNetworkCidrBlock            InvalidRules = "is_supported_network_cidr_block"
	InvalidRulesIsSupportedProviderRegion              InvalidRules = "is_supported_provider_region"
)

func (InvalidRules) ToPointer

func (e InvalidRules) ToPointer() *InvalidRules

func (*InvalidRules) UnmarshalJSON

func (e *InvalidRules) UnmarshalJSON(data []byte) error

type InviteUser

type InviteUser struct {
	Email string `json:"email"`
}

InviteUser - The request schema for the invite user request.

If you pass an `email` that is not already an active user in the request, a fresh invitation email will be created and sent to the new user.

func (*InviteUser) GetEmail

func (o *InviteUser) GetEmail() string

type Item

type Item struct {
	// The custom plugin schema; `jq -Rs '.' schema.lua`.
	LuaSchema *string `json:"lua_schema,omitempty"`
	// The custom plugin name determined by the custom plugin schema.
	Name *string `json:"name,omitempty"`
	// An ISO-8604 timestamp representation of custom plugin schema creation date.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// An ISO-8604 timestamp representation of custom plugin schema update date.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

func (*Item) GetCreatedAt

func (o *Item) GetCreatedAt() *int64

func (*Item) GetLuaSchema

func (o *Item) GetLuaSchema() *string

func (*Item) GetName

func (o *Item) GetName() *string

func (*Item) GetUpdatedAt

func (o *Item) GetUpdatedAt() *int64

type Items

type Items struct {
	// The custom plugin schema; `jq -Rs '.' schema.lua`.
	LuaSchema *string `json:"lua_schema,omitempty"`
	// The custom plugin name determined by the custom plugin schema.
	Name *string `json:"name,omitempty"`
	// An ISO-8604 timestamp representation of custom plugin schema creation date.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// An ISO-8604 timestamp representation of custom plugin schema update date.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

func (*Items) GetCreatedAt

func (o *Items) GetCreatedAt() *int64

func (*Items) GetLuaSchema

func (o *Items) GetLuaSchema() *string

func (*Items) GetName

func (o *Items) GetName() *string

func (*Items) GetUpdatedAt

func (o *Items) GetUpdatedAt() *int64

type JWTConsumer

type JWTConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*JWTConsumer) GetID

func (o *JWTConsumer) GetID() *string

type JWTWithoutParents

type JWTWithoutParents struct {
	Algorithm    *JWTWithoutParentsAlgorithm `json:"algorithm,omitempty"`
	Consumer     *JWTWithoutParentsConsumer  `json:"consumer,omitempty"`
	ID           *string                     `json:"id,omitempty"`
	Key          *string                     `json:"key,omitempty"`
	RsaPublicKey *string                     `json:"rsa_public_key,omitempty"`
	Secret       *string                     `json:"secret,omitempty"`
	Tags         []string                    `json:"tags,omitempty"`
}

func (*JWTWithoutParents) GetAlgorithm

func (o *JWTWithoutParents) GetAlgorithm() *JWTWithoutParentsAlgorithm

func (*JWTWithoutParents) GetConsumer

func (o *JWTWithoutParents) GetConsumer() *JWTWithoutParentsConsumer

func (*JWTWithoutParents) GetID

func (o *JWTWithoutParents) GetID() *string

func (*JWTWithoutParents) GetKey

func (o *JWTWithoutParents) GetKey() *string

func (*JWTWithoutParents) GetRsaPublicKey

func (o *JWTWithoutParents) GetRsaPublicKey() *string

func (*JWTWithoutParents) GetSecret

func (o *JWTWithoutParents) GetSecret() *string

func (*JWTWithoutParents) GetTags

func (o *JWTWithoutParents) GetTags() []string

type JWTWithoutParentsAlgorithm

type JWTWithoutParentsAlgorithm string
const (
	JWTWithoutParentsAlgorithmHs256 JWTWithoutParentsAlgorithm = "HS256"
	JWTWithoutParentsAlgorithmHs384 JWTWithoutParentsAlgorithm = "HS384"
	JWTWithoutParentsAlgorithmHs512 JWTWithoutParentsAlgorithm = "HS512"
	JWTWithoutParentsAlgorithmRs256 JWTWithoutParentsAlgorithm = "RS256"
	JWTWithoutParentsAlgorithmRs384 JWTWithoutParentsAlgorithm = "RS384"
	JWTWithoutParentsAlgorithmRs512 JWTWithoutParentsAlgorithm = "RS512"
	JWTWithoutParentsAlgorithmEs256 JWTWithoutParentsAlgorithm = "ES256"
	JWTWithoutParentsAlgorithmEs384 JWTWithoutParentsAlgorithm = "ES384"
	JWTWithoutParentsAlgorithmEs512 JWTWithoutParentsAlgorithm = "ES512"
	JWTWithoutParentsAlgorithmPs256 JWTWithoutParentsAlgorithm = "PS256"
	JWTWithoutParentsAlgorithmPs384 JWTWithoutParentsAlgorithm = "PS384"
	JWTWithoutParentsAlgorithmPs512 JWTWithoutParentsAlgorithm = "PS512"
	JWTWithoutParentsAlgorithmEdDsa JWTWithoutParentsAlgorithm = "EdDSA"
)

func (JWTWithoutParentsAlgorithm) ToPointer

func (*JWTWithoutParentsAlgorithm) UnmarshalJSON

func (e *JWTWithoutParentsAlgorithm) UnmarshalJSON(data []byte) error

type JWTWithoutParentsConsumer

type JWTWithoutParentsConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*JWTWithoutParentsConsumer) GetID

func (o *JWTWithoutParentsConsumer) GetID() *string

type Jwt

type Jwt struct {
	Algorithm *Algorithm   `json:"algorithm,omitempty"`
	Consumer  *JWTConsumer `json:"consumer,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt    *int64   `json:"created_at,omitempty"`
	ID           *string  `json:"id,omitempty"`
	Key          *string  `json:"key,omitempty"`
	RsaPublicKey *string  `json:"rsa_public_key,omitempty"`
	Secret       *string  `json:"secret,omitempty"`
	Tags         []string `json:"tags,omitempty"`
}

func (*Jwt) GetAlgorithm

func (o *Jwt) GetAlgorithm() *Algorithm

func (*Jwt) GetConsumer

func (o *Jwt) GetConsumer() *JWTConsumer

func (*Jwt) GetCreatedAt

func (o *Jwt) GetCreatedAt() *int64

func (*Jwt) GetID

func (o *Jwt) GetID() *string

func (*Jwt) GetKey

func (o *Jwt) GetKey() *string

func (*Jwt) GetRsaPublicKey

func (o *Jwt) GetRsaPublicKey() *string

func (*Jwt) GetSecret

func (o *Jwt) GetSecret() *string

func (*Jwt) GetTags

func (o *Jwt) GetTags() []string

type Key

type Key struct {
	// Unix epoch when the resource was created.
	CreatedAt *int64  `json:"created_at,omitempty"`
	ID        *string `json:"id,omitempty"`
	// A JSON Web Key represented as a string.
	Jwk *string `json:"jwk,omitempty"`
	// A unique identifier for a key.
	Kid string `json:"kid"`
	// The name to associate with the given keys.
	Name *string `json:"name,omitempty"`
	// A keypair in PEM format.
	Pem *Pem `json:"pem,omitempty"`
	// The id (an UUID) of the key-set with which to associate the key.
	Set *Set `json:"set,omitempty"`
	// An optional set of strings associated with the Key for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

A Key object holds a representation of asymmetric keys in various formats. When Kong or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity.

func (*Key) GetCreatedAt

func (o *Key) GetCreatedAt() *int64

func (*Key) GetID

func (o *Key) GetID() *string

func (*Key) GetJwk

func (o *Key) GetJwk() *string

func (*Key) GetKid

func (o *Key) GetKid() string

func (*Key) GetName

func (o *Key) GetName() *string

func (*Key) GetPem

func (o *Key) GetPem() *Pem

func (*Key) GetSet

func (o *Key) GetSet() *Set

func (*Key) GetTags

func (o *Key) GetTags() []string

func (*Key) GetUpdatedAt

func (o *Key) GetUpdatedAt() *int64

type KeyAuth

type KeyAuth struct {
	Consumer *KeyAuthConsumer `json:"consumer,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64   `json:"created_at,omitempty"`
	ID        *string  `json:"id,omitempty"`
	Key       string   `json:"key"`
	Tags      []string `json:"tags,omitempty"`
}

func (*KeyAuth) GetConsumer

func (o *KeyAuth) GetConsumer() *KeyAuthConsumer

func (*KeyAuth) GetCreatedAt

func (o *KeyAuth) GetCreatedAt() *int64

func (*KeyAuth) GetID

func (o *KeyAuth) GetID() *string

func (*KeyAuth) GetKey

func (o *KeyAuth) GetKey() string

func (*KeyAuth) GetTags

func (o *KeyAuth) GetTags() []string

type KeyAuthConsumer

type KeyAuthConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*KeyAuthConsumer) GetID

func (o *KeyAuthConsumer) GetID() *string

type KeyAuthWithoutParents

type KeyAuthWithoutParents struct {
	Consumer *KeyAuthWithoutParentsConsumer `json:"consumer,omitempty"`
	ID       *string                        `json:"id,omitempty"`
	Key      string                         `json:"key"`
	Tags     []string                       `json:"tags,omitempty"`
}

func (*KeyAuthWithoutParents) GetConsumer

func (*KeyAuthWithoutParents) GetID

func (o *KeyAuthWithoutParents) GetID() *string

func (*KeyAuthWithoutParents) GetKey

func (o *KeyAuthWithoutParents) GetKey() string

func (*KeyAuthWithoutParents) GetTags

func (o *KeyAuthWithoutParents) GetTags() []string

type KeyAuthWithoutParentsConsumer

type KeyAuthWithoutParentsConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*KeyAuthWithoutParentsConsumer) GetID

type KeyInput

type KeyInput struct {
	ID *string `json:"id,omitempty"`
	// A JSON Web Key represented as a string.
	Jwk *string `json:"jwk,omitempty"`
	// A unique identifier for a key.
	Kid string `json:"kid"`
	// The name to associate with the given keys.
	Name *string `json:"name,omitempty"`
	// A keypair in PEM format.
	Pem *Pem `json:"pem,omitempty"`
	// The id (an UUID) of the key-set with which to associate the key.
	Set *Set `json:"set,omitempty"`
	// An optional set of strings associated with the Key for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

KeyInput - A Key object holds a representation of asymmetric keys in various formats. When Kong or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity.

func (*KeyInput) GetID

func (o *KeyInput) GetID() *string

func (*KeyInput) GetJwk

func (o *KeyInput) GetJwk() *string

func (*KeyInput) GetKid

func (o *KeyInput) GetKid() string

func (*KeyInput) GetName

func (o *KeyInput) GetName() *string

func (*KeyInput) GetPem

func (o *KeyInput) GetPem() *Pem

func (*KeyInput) GetSet

func (o *KeyInput) GetSet() *Set

func (*KeyInput) GetTags

func (o *KeyInput) GetTags() []string

type KeySet

type KeySet struct {
	// Unix epoch when the resource was created.
	CreatedAt *int64   `json:"created_at,omitempty"`
	ID        *string  `json:"id,omitempty"`
	Name      *string  `json:"name,omitempty"`
	Tags      []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

func (*KeySet) GetCreatedAt

func (o *KeySet) GetCreatedAt() *int64

func (*KeySet) GetID

func (o *KeySet) GetID() *string

func (*KeySet) GetName

func (o *KeySet) GetName() *string

func (*KeySet) GetTags

func (o *KeySet) GetTags() []string

func (*KeySet) GetUpdatedAt

func (o *KeySet) GetUpdatedAt() *int64

type KeySetInput

type KeySetInput struct {
	ID   *string  `json:"id,omitempty"`
	Name *string  `json:"name,omitempty"`
	Tags []string `json:"tags,omitempty"`
}

func (*KeySetInput) GetID

func (o *KeySetInput) GetID() *string

func (*KeySetInput) GetName

func (o *KeySetInput) GetName() *string

func (*KeySetInput) GetTags

func (o *KeySetInput) GetTags() []string

type KeyWithoutParents

type KeyWithoutParents struct {
	ID *string `json:"id,omitempty"`
	// A JSON Web Key represented as a string.
	Jwk *string `json:"jwk,omitempty"`
	// A unique identifier for a key.
	Kid string `json:"kid"`
	// The name to associate with the given keys.
	Name *string `json:"name,omitempty"`
	// A keypair in PEM format.
	Pem *KeyWithoutParentsPem `json:"pem,omitempty"`
	// The id (an UUID) of the key-set with which to associate the key.
	Set *KeyWithoutParentsSet `json:"set,omitempty"`
	// An optional set of strings associated with the Key for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

KeyWithoutParents - A Key object holds a representation of asymmetric keys in various formats. When Kong or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity.

func (*KeyWithoutParents) GetID

func (o *KeyWithoutParents) GetID() *string

func (*KeyWithoutParents) GetJwk

func (o *KeyWithoutParents) GetJwk() *string

func (*KeyWithoutParents) GetKid

func (o *KeyWithoutParents) GetKid() string

func (*KeyWithoutParents) GetName

func (o *KeyWithoutParents) GetName() *string

func (*KeyWithoutParents) GetPem

func (*KeyWithoutParents) GetSet

func (*KeyWithoutParents) GetTags

func (o *KeyWithoutParents) GetTags() []string

type KeyWithoutParentsPem

type KeyWithoutParentsPem struct {
	PrivateKey *string `json:"private_key,omitempty"`
	PublicKey  *string `json:"public_key,omitempty"`
}

KeyWithoutParentsPem - A keypair in PEM format.

func (*KeyWithoutParentsPem) GetPrivateKey

func (o *KeyWithoutParentsPem) GetPrivateKey() *string

func (*KeyWithoutParentsPem) GetPublicKey

func (o *KeyWithoutParentsPem) GetPublicKey() *string

type KeyWithoutParentsSet

type KeyWithoutParentsSet struct {
	ID *string `json:"id,omitempty"`
}

KeyWithoutParentsSet - The id (an UUID) of the key-set with which to associate the key.

func (*KeyWithoutParentsSet) GetID

func (o *KeyWithoutParentsSet) GetID() *string

type Kind added in v0.2.0

type Kind string
const (
	KindStatic Kind = "static"
)

func (Kind) ToPointer added in v0.2.0

func (e Kind) ToPointer() *Kind

func (*Kind) UnmarshalJSON added in v0.2.0

func (e *Kind) UnmarshalJSON(data []byte) error

type ListConfigStoreSecretsResponse added in v0.1.28

type ListConfigStoreSecretsResponse struct {
	// Pagination metadata.
	Meta CursorMeta          `json:"meta"`
	Data []ConfigStoreSecret `json:"data"`
}

ListConfigStoreSecretsResponse - List of Config Store Secrets

func (*ListConfigStoreSecretsResponse) GetData added in v0.1.28

func (*ListConfigStoreSecretsResponse) GetMeta added in v0.1.28

type ListConfigStoresResponse added in v0.1.28

type ListConfigStoresResponse struct {
	// Pagination metadata.
	Meta CursorMeta    `json:"meta"`
	Data []ConfigStore `json:"data"`
}

ListConfigStoresResponse - List of Config Stores

func (*ListConfigStoresResponse) GetData added in v0.1.28

func (o *ListConfigStoresResponse) GetData() []ConfigStore

func (*ListConfigStoresResponse) GetMeta added in v0.1.28

func (o *ListConfigStoresResponse) GetMeta() CursorMeta

type ListConfigurationsResponse added in v0.2.0

type ListConfigurationsResponse struct {
	// returns the pagination information
	Meta PaginatedMeta           `json:"meta"`
	Data []ConfigurationManifest `json:"data"`
}

ListConfigurationsResponse - A paginated list for a collection of configurations.

func (*ListConfigurationsResponse) GetData added in v0.2.0

func (*ListConfigurationsResponse) GetMeta added in v0.2.0

type ListControlPlanesResponse

type ListControlPlanesResponse struct {
	// returns the pagination information
	Meta PaginatedMeta  `json:"meta"`
	Data []ControlPlane `json:"data"`
}

ListControlPlanesResponse - A paginated list response for a collection of control planes.

func (*ListControlPlanesResponse) GetData

func (o *ListControlPlanesResponse) GetData() []ControlPlane

func (*ListControlPlanesResponse) GetMeta

type ListCustomDomainsResponse added in v0.2.0

type ListCustomDomainsResponse struct {
	// returns the pagination information
	Meta PaginatedMeta  `json:"meta"`
	Data []CustomDomain `json:"data"`
}

ListCustomDomainsResponse - A paginated list for a collection of custom domains.

func (*ListCustomDomainsResponse) GetData added in v0.2.0

func (o *ListCustomDomainsResponse) GetData() []CustomDomain

func (*ListCustomDomainsResponse) GetMeta added in v0.2.0

type ListDataPlaneCertificatesResponse

type ListDataPlaneCertificatesResponse struct {
	Items []DataPlaneClientCertificate           `json:"items,omitempty"`
	Page  *ListDataPlaneCertificatesResponsePage `json:"page,omitempty"`
}

ListDataPlaneCertificatesResponse - Example response

func (*ListDataPlaneCertificatesResponse) GetItems

func (*ListDataPlaneCertificatesResponse) GetPage

type ListDataPlaneCertificatesResponsePage

type ListDataPlaneCertificatesResponsePage struct {
	Total *int64 `json:"total,omitempty"`
}

func (*ListDataPlaneCertificatesResponsePage) GetTotal

type ListDefaultResourceConfigurationsResponse added in v0.2.0

type ListDefaultResourceConfigurationsResponse struct {
	// returns the pagination information
	Meta PaginatedMeta                  `json:"meta"`
	Data []DefaultResourceConfiguration `json:"data"`
}

ListDefaultResourceConfigurationsResponse - A paginated list for a collection of default resource configurations.

func (*ListDefaultResourceConfigurationsResponse) GetData added in v0.2.0

func (*ListDefaultResourceConfigurationsResponse) GetMeta added in v0.2.0

type ListDefaultResourceQuotasResponse added in v0.2.0

type ListDefaultResourceQuotasResponse struct {
	// returns the pagination information
	Meta PaginatedMeta          `json:"meta"`
	Data []DefaultResourceQuota `json:"data"`
}

ListDefaultResourceQuotasResponse - A paginated list for a collection of default resource quotas.

func (*ListDefaultResourceQuotasResponse) GetData added in v0.2.0

func (*ListDefaultResourceQuotasResponse) GetMeta added in v0.2.0

type ListGroupMemberships

type ListGroupMemberships struct {
	// returns the pagination information
	Meta CursorPaginatedMetaWithSizeAndTotal `json:"meta"`
	// Array of control planes summary who are a child to this control plane group.
	Data []ControlPlane `json:"data"`
}

ListGroupMemberships - A paginated list response for a collection of control plane group memberships.

func (*ListGroupMemberships) GetData

func (o *ListGroupMemberships) GetData() []ControlPlane

func (*ListGroupMemberships) GetMeta

type ListNetworkConfigurationReferencesResponse added in v0.2.0

type ListNetworkConfigurationReferencesResponse struct {
	// returns the pagination information
	Meta PaginatedMeta                   `json:"meta"`
	Data []NetworkConfigurationReference `json:"data"`
}

ListNetworkConfigurationReferencesResponse - A paginated list for a collection of configurations that reference a network.

func (*ListNetworkConfigurationReferencesResponse) GetData added in v0.2.0

func (*ListNetworkConfigurationReferencesResponse) GetMeta added in v0.2.0

type ListNetworksResponse added in v0.2.0

type ListNetworksResponse struct {
	// returns the pagination information
	Meta PaginatedMeta `json:"meta"`
	Data []Network     `json:"data"`
}

ListNetworksResponse - A paginated list for a collection of networks.

func (*ListNetworksResponse) GetData added in v0.2.0

func (o *ListNetworksResponse) GetData() []Network

func (*ListNetworksResponse) GetMeta added in v0.2.0

func (o *ListNetworksResponse) GetMeta() PaginatedMeta

type ListNodes

type ListNodes struct {
	Items []ListNodesItems `json:"items,omitempty"`
	Page  *ListNodesPage   `json:"page,omitempty"`
}

ListNodes - Example response

func (*ListNodes) GetItems

func (o *ListNodes) GetItems() []ListNodesItems

func (*ListNodes) GetPage

func (o *ListNodes) GetPage() *ListNodesPage

type ListNodesEol

type ListNodesEol struct {
	Items []ListNodesEolItems `json:"items,omitempty"`
	Page  *ListNodesEolPage   `json:"page,omitempty"`
}

ListNodesEol - Example response

func (*ListNodesEol) GetItems

func (o *ListNodesEol) GetItems() []ListNodesEolItems

func (*ListNodesEol) GetPage

func (o *ListNodesEol) GetPage() *ListNodesEolPage

type ListNodesEolItems

type ListNodesEolItems struct {
	NodeID      *string `json:"node_id,omitempty"`
	NodeVersion *string `json:"node_version,omitempty"`
	Message     *string `json:"message,omitempty"`
}

func (*ListNodesEolItems) GetMessage

func (o *ListNodesEolItems) GetMessage() *string

func (*ListNodesEolItems) GetNodeID

func (o *ListNodesEolItems) GetNodeID() *string

func (*ListNodesEolItems) GetNodeVersion

func (o *ListNodesEolItems) GetNodeVersion() *string

type ListNodesEolPage

type ListNodesEolPage struct {
	Total *int64 `json:"total,omitempty"`
}

func (*ListNodesEolPage) GetTotal

func (o *ListNodesEolPage) GetTotal() *int64

type ListNodesItems

type ListNodesItems struct {
	ID                  *string              `json:"id,omitempty"`
	Version             *string              `json:"version,omitempty"`
	Hostname            *string              `json:"hostname,omitempty"`
	LastPing            *int64               `json:"last_ping,omitempty"`
	Type                *string              `json:"type,omitempty"`
	CreatedAt           *int64               `json:"created_at,omitempty"`
	UpdatedAt           *int64               `json:"updated_at,omitempty"`
	ConfigHash          *string              `json:"config_hash,omitempty"`
	CompatibilityStatus *CompatibilityStatus `json:"compatibility_status,omitempty"`
}

func (*ListNodesItems) GetCompatibilityStatus

func (o *ListNodesItems) GetCompatibilityStatus() *CompatibilityStatus

func (*ListNodesItems) GetConfigHash

func (o *ListNodesItems) GetConfigHash() *string

func (*ListNodesItems) GetCreatedAt

func (o *ListNodesItems) GetCreatedAt() *int64

func (*ListNodesItems) GetHostname

func (o *ListNodesItems) GetHostname() *string

func (*ListNodesItems) GetID

func (o *ListNodesItems) GetID() *string

func (*ListNodesItems) GetLastPing

func (o *ListNodesItems) GetLastPing() *int64

func (*ListNodesItems) GetType

func (o *ListNodesItems) GetType() *string

func (*ListNodesItems) GetUpdatedAt

func (o *ListNodesItems) GetUpdatedAt() *int64

func (*ListNodesItems) GetVersion

func (o *ListNodesItems) GetVersion() *string

type ListNodesPage

type ListNodesPage struct {
	Total *int64  `json:"total,omitempty"`
	Next  *string `json:"next,omitempty"`
}

func (*ListNodesPage) GetNext

func (o *ListNodesPage) GetNext() *string

func (*ListNodesPage) GetTotal

func (o *ListNodesPage) GetTotal() *int64

type ListPluginSchemas

type ListPluginSchemas struct {
	Items []Items `json:"items,omitempty"`
	Page  *Page   `json:"page,omitempty"`
}

ListPluginSchemas - A paginated list response for a collection of custom plugin schemas.

func (*ListPluginSchemas) GetItems

func (o *ListPluginSchemas) GetItems() []Items

func (*ListPluginSchemas) GetPage

func (o *ListPluginSchemas) GetPage() *Page

type ListProviderAccountsResponse added in v0.2.0

type ListProviderAccountsResponse struct {
	// returns the pagination information
	Meta PaginatedMeta     `json:"meta"`
	Data []ProviderAccount `json:"data"`
}

ListProviderAccountsResponse - A paginated list for a collection of provider accounts.

func (*ListProviderAccountsResponse) GetData added in v0.2.0

func (*ListProviderAccountsResponse) GetMeta added in v0.2.0

type ListResourceConfigurationsResponse added in v0.2.0

type ListResourceConfigurationsResponse struct {
	// returns the pagination information
	Meta PaginatedMeta           `json:"meta"`
	Data []ResourceConfiguration `json:"data"`
}

ListResourceConfigurationsResponse - A paginated list for a collection of resource configurations.

func (*ListResourceConfigurationsResponse) GetData added in v0.2.0

func (*ListResourceConfigurationsResponse) GetMeta added in v0.2.0

type ListResourceQuotasResponse added in v0.2.0

type ListResourceQuotasResponse struct {
	// returns the pagination information
	Meta PaginatedMeta   `json:"meta"`
	Data []ResourceQuota `json:"data"`
}

ListResourceQuotasResponse - A paginated list for a collection of resource quotas.

func (*ListResourceQuotasResponse) GetData added in v0.2.0

func (*ListResourceQuotasResponse) GetMeta added in v0.2.0

type ListTransitGatewaysResponse added in v0.2.0

type ListTransitGatewaysResponse struct {
	// returns the pagination information
	Meta PaginatedMeta            `json:"meta"`
	Data []TransitGatewayResponse `json:"data"`
}

ListTransitGatewaysResponse - A paginated list for a collection of transit gateways for a network.

func (*ListTransitGatewaysResponse) GetData added in v0.2.0

func (*ListTransitGatewaysResponse) GetMeta added in v0.2.0

type MTLSAuth

type MTLSAuth struct {
	CaCertificate *MTLSAuthCaCertificate `json:"ca_certificate,omitempty"`
	Consumer      *MTLSAuthConsumer      `json:"consumer,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt   *int64   `json:"created_at,omitempty"`
	ID          *string  `json:"id,omitempty"`
	SubjectName string   `json:"subject_name"`
	Tags        []string `json:"tags,omitempty"`
}

func (*MTLSAuth) GetCaCertificate

func (o *MTLSAuth) GetCaCertificate() *MTLSAuthCaCertificate

func (*MTLSAuth) GetConsumer

func (o *MTLSAuth) GetConsumer() *MTLSAuthConsumer

func (*MTLSAuth) GetCreatedAt

func (o *MTLSAuth) GetCreatedAt() *int64

func (*MTLSAuth) GetID

func (o *MTLSAuth) GetID() *string

func (*MTLSAuth) GetSubjectName

func (o *MTLSAuth) GetSubjectName() string

func (*MTLSAuth) GetTags

func (o *MTLSAuth) GetTags() []string

type MTLSAuthCaCertificate

type MTLSAuthCaCertificate struct {
	ID *string `json:"id,omitempty"`
}

func (*MTLSAuthCaCertificate) GetID

func (o *MTLSAuthCaCertificate) GetID() *string

type MTLSAuthConsumer

type MTLSAuthConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*MTLSAuthConsumer) GetID

func (o *MTLSAuthConsumer) GetID() *string

type MTLSAuthWithoutParents

type MTLSAuthWithoutParents struct {
	CaCertificate *MTLSAuthWithoutParentsCaCertificate `json:"ca_certificate,omitempty"`
	Consumer      *MTLSAuthWithoutParentsConsumer      `json:"consumer,omitempty"`
	ID            *string                              `json:"id,omitempty"`
	SubjectName   string                               `json:"subject_name"`
	Tags          []string                             `json:"tags,omitempty"`
}

func (*MTLSAuthWithoutParents) GetCaCertificate

func (*MTLSAuthWithoutParents) GetConsumer

func (*MTLSAuthWithoutParents) GetID

func (o *MTLSAuthWithoutParents) GetID() *string

func (*MTLSAuthWithoutParents) GetSubjectName

func (o *MTLSAuthWithoutParents) GetSubjectName() string

func (*MTLSAuthWithoutParents) GetTags

func (o *MTLSAuthWithoutParents) GetTags() []string

type MTLSAuthWithoutParentsCaCertificate

type MTLSAuthWithoutParentsCaCertificate struct {
	ID *string `json:"id,omitempty"`
}

func (*MTLSAuthWithoutParentsCaCertificate) GetID

type MTLSAuthWithoutParentsConsumer

type MTLSAuthWithoutParentsConsumer struct {
	ID *string `json:"id,omitempty"`
}

func (*MTLSAuthWithoutParentsConsumer) GetID

type Maintainer

type Maintainer struct {
	Name        RolesAPIProductsRolesMaintainerName        `json:"name"`
	Description RolesAPIProductsRolesMaintainerDescription `json:"description"`
}

func (*Maintainer) GetDescription

func (*Maintainer) GetName

type Mappings

type Mappings struct {
	Group   *string  `json:"group,omitempty"`
	TeamIds []string `json:"team_ids,omitempty"`
}

func (*Mappings) GetGroup

func (o *Mappings) GetGroup() *string

func (*Mappings) GetTeamIds

func (o *Mappings) GetTeamIds() []string

type MeOrganization

type MeOrganization struct {
	// UUID of the organization.
	ID *string `json:"id,omitempty"`
	// Name of the organization.
	Name *string `json:"name,omitempty"`
	// Owner ID of the organization.
	OwnerID *string `json:"owner_id,omitempty"`
	// Path to organization-specific login when single sign on (SSO) is enabled. Blank otherwise.
	LoginPath *string `json:"login_path,omitempty"`
	// Date the organization was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Date the organization was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// State of the organization
	State *MeOrganizationState `json:"state,omitempty"`
	// The number of days an organization spends inactive before being deleted.
	RetentionPeriodDays *int64 `json:"retention_period_days,omitempty"`
}

MeOrganization - Me Organization

func (*MeOrganization) GetCreatedAt

func (o *MeOrganization) GetCreatedAt() *time.Time

func (*MeOrganization) GetID

func (o *MeOrganization) GetID() *string

func (*MeOrganization) GetLoginPath

func (o *MeOrganization) GetLoginPath() *string

func (*MeOrganization) GetName

func (o *MeOrganization) GetName() *string

func (*MeOrganization) GetOwnerID

func (o *MeOrganization) GetOwnerID() *string

func (*MeOrganization) GetRetentionPeriodDays

func (o *MeOrganization) GetRetentionPeriodDays() *int64

func (*MeOrganization) GetState

func (o *MeOrganization) GetState() *MeOrganizationState

func (*MeOrganization) GetUpdatedAt

func (o *MeOrganization) GetUpdatedAt() *time.Time

func (MeOrganization) MarshalJSON

func (m MeOrganization) MarshalJSON() ([]byte, error)

func (*MeOrganization) UnmarshalJSON

func (m *MeOrganization) UnmarshalJSON(data []byte) error

type MeOrganizationState

type MeOrganizationState string

MeOrganizationState - State of the organization

const (
	MeOrganizationStateActive   MeOrganizationState = "active"
	MeOrganizationStateInactive MeOrganizationState = "inactive"
	MeOrganizationStateDeleting MeOrganizationState = "deleting"
	MeOrganizationStateDeleted  MeOrganizationState = "deleted"
)

func (MeOrganizationState) ToPointer

func (*MeOrganizationState) UnmarshalJSON

func (e *MeOrganizationState) UnmarshalJSON(data []byte) error

type Members

type Members struct {
	ID string `json:"id"`
}

func (*Members) GetID

func (o *Members) GetID() string

type MeshControlPlanes

type MeshControlPlanes struct {
	Name  RolesMeshControlPlanesName  `json:"name"`
	Roles RolesMeshControlPlanesRoles `json:"roles"`
}

func (*MeshControlPlanes) GetName

func (*MeshControlPlanes) GetRoles

type Meta

type Meta struct {
	// The page object.
	Page *TeamMappingResponsePage `json:"page,omitempty"`
}

Meta - Contains pagination data.

func (*Meta) GetPage

func (o *Meta) GetPage() *TeamMappingResponsePage

type Name

type Name struct {
	StringFieldEqualsFilter   *StringFieldEqualsFilter   `queryParam:"inline"`
	StringFieldContainsFilter *StringFieldContainsFilter `queryParam:"inline"`
	StringFieldNEQFilter      *StringFieldNEQFilter      `queryParam:"inline"`

	Type NameType
}

func CreateNameStringFieldContainsFilter

func CreateNameStringFieldContainsFilter(stringFieldContainsFilter StringFieldContainsFilter) Name

func CreateNameStringFieldEqualsFilter

func CreateNameStringFieldEqualsFilter(stringFieldEqualsFilter StringFieldEqualsFilter) Name

func CreateNameStringFieldNEQFilter

func CreateNameStringFieldNEQFilter(stringFieldNEQFilter StringFieldNEQFilter) Name

func (Name) MarshalJSON

func (u Name) MarshalJSON() ([]byte, error)

func (*Name) UnmarshalJSON

func (u *Name) UnmarshalJSON(data []byte) error

type NameType

type NameType string
const (
	NameTypeStringFieldEqualsFilter   NameType = "StringFieldEqualsFilter"
	NameTypeStringFieldContainsFilter NameType = "StringFieldContainsFilter"
	NameTypeStringFieldNEQFilter      NameType = "StringFieldNEQFilter"
)

type Network added in v0.2.0

type Network struct {
	ID string `json:"id"`
	// Human-readable name of the network.
	Name string `json:"name"`
	// Whether the network is a default network or not. Default networks are Networks that are created
	// automatically by Konnect when an organization is linked to a provider account.
	//
	Default                       bool   `json:"default"`
	CloudGatewayProviderAccountID string `json:"cloud_gateway_provider_account_id"`
	// Region ID for cloud provider region.
	Region string `json:"region"`
	// List of availability zones that the network is attached to.
	AvailabilityZones []string `json:"availability_zones"`
	// CIDR block configuration for the network.
	CidrBlock string `json:"cidr_block"`
	// State of the network.
	State NetworkState `json:"state"`
	// Metadata describing attributes returned by cloud-provider for the network.
	ProviderMetadata NetworkProviderMetadata `json:"provider_metadata"`
	// The number of transit gateways attached to this network.
	TransitGatewayCount int64 `json:"transit_gateway_count"`
	// The number of configurations that reference this network.
	ConfigurationReferenceCount int64 `json:"configuration_reference_count"`
	// Monotonically-increasing version count of the network, to indicate the order of updates to the network.
	//
	EntityVersion int64 `json:"entity_version"`
	// An RFC-3339 timestamp representation of network creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of network update date.
	UpdatedAt time.Time `json:"updated_at"`
}

Network - Object containing information about a network to be used in configurations.

func (*Network) GetAvailabilityZones added in v0.2.0

func (o *Network) GetAvailabilityZones() []string

func (*Network) GetCidrBlock added in v0.2.0

func (o *Network) GetCidrBlock() string

func (*Network) GetCloudGatewayProviderAccountID added in v0.2.0

func (o *Network) GetCloudGatewayProviderAccountID() string

func (*Network) GetConfigurationReferenceCount added in v0.2.0

func (o *Network) GetConfigurationReferenceCount() int64

func (*Network) GetCreatedAt added in v0.2.0

func (o *Network) GetCreatedAt() time.Time

func (*Network) GetDefault added in v0.2.0

func (o *Network) GetDefault() bool

func (*Network) GetEntityVersion added in v0.2.0

func (o *Network) GetEntityVersion() int64

func (*Network) GetID added in v0.2.0

func (o *Network) GetID() string

func (*Network) GetName added in v0.2.0

func (o *Network) GetName() string

func (*Network) GetProviderMetadata added in v0.2.0

func (o *Network) GetProviderMetadata() NetworkProviderMetadata

func (*Network) GetRegion added in v0.2.0

func (o *Network) GetRegion() string

func (*Network) GetState added in v0.2.0

func (o *Network) GetState() NetworkState

func (*Network) GetTransitGatewayCount added in v0.2.0

func (o *Network) GetTransitGatewayCount() int64

func (*Network) GetUpdatedAt added in v0.2.0

func (o *Network) GetUpdatedAt() time.Time

func (Network) MarshalJSON added in v0.2.0

func (n Network) MarshalJSON() ([]byte, error)

func (*Network) UnmarshalJSON added in v0.2.0

func (n *Network) UnmarshalJSON(data []byte) error

type NetworkConfigurationReference added in v0.2.0

type NetworkConfigurationReference struct {
	ID string `json:"id"`
	// Supported gateway version.
	Version string `json:"version"`
	// Type of API access data-plane groups will support for a configuration.
	APIAccess *APIAccess `default:"private+public" json:"api_access"`
	// Object that describes where data-planes will be deployed to, along with how many instances.
	DataplaneGroupConfig []ConfigurationDataPlaneGroupConfig `json:"dataplane_group_config"`
	// List of data-plane groups that describe where data-planes will be deployed to, along with how many
	// instances.
	//
	DataplaneGroups []ConfigurationDataPlaneGroup `json:"dataplane_groups"`
	// Positive, monotonically increasing version integer, to serialize configuration changes.
	//
	EntityVersion float64 `json:"entity_version"`
	// An RFC-3339 timestamp representation of configuration creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of configuration update date.
	UpdatedAt      time.Time `json:"updated_at"`
	ControlPlaneID string    `json:"control_plane_id"`
	// Set of control-plane geos supported for deploying cloud-gateways configurations.
	ControlPlaneGeo ControlPlaneGeo `json:"control_plane_geo"`
}

NetworkConfigurationReference - Object containing information about a control-plane's cloud-gateways configuration.

func (*NetworkConfigurationReference) GetAPIAccess added in v0.2.0

func (o *NetworkConfigurationReference) GetAPIAccess() *APIAccess

func (*NetworkConfigurationReference) GetControlPlaneGeo added in v0.2.0

func (o *NetworkConfigurationReference) GetControlPlaneGeo() ControlPlaneGeo

func (*NetworkConfigurationReference) GetControlPlaneID added in v0.2.0

func (o *NetworkConfigurationReference) GetControlPlaneID() string

func (*NetworkConfigurationReference) GetCreatedAt added in v0.2.0

func (o *NetworkConfigurationReference) GetCreatedAt() time.Time

func (*NetworkConfigurationReference) GetDataplaneGroupConfig added in v0.2.0

func (*NetworkConfigurationReference) GetDataplaneGroups added in v0.2.0

func (*NetworkConfigurationReference) GetEntityVersion added in v0.2.0

func (o *NetworkConfigurationReference) GetEntityVersion() float64

func (*NetworkConfigurationReference) GetID added in v0.2.0

func (*NetworkConfigurationReference) GetUpdatedAt added in v0.2.0

func (o *NetworkConfigurationReference) GetUpdatedAt() time.Time

func (*NetworkConfigurationReference) GetVersion added in v0.2.0

func (o *NetworkConfigurationReference) GetVersion() string

func (NetworkConfigurationReference) MarshalJSON added in v0.2.0

func (n NetworkConfigurationReference) MarshalJSON() ([]byte, error)

func (*NetworkConfigurationReference) UnmarshalJSON added in v0.2.0

func (n *NetworkConfigurationReference) UnmarshalJSON(data []byte) error

type NetworkCreateState added in v0.2.0

type NetworkCreateState string

NetworkCreateState - Initial state for creating a network.

const (
	NetworkCreateStateInitializing NetworkCreateState = "initializing"
	NetworkCreateStateOffline      NetworkCreateState = "offline"
)

func (NetworkCreateState) ToPointer added in v0.2.0

func (e NetworkCreateState) ToPointer() *NetworkCreateState

func (*NetworkCreateState) UnmarshalJSON added in v0.2.0

func (e *NetworkCreateState) UnmarshalJSON(data []byte) error

type NetworkProviderMetadata added in v0.2.0

type NetworkProviderMetadata struct {
	VpcID     *string  `json:"vpc_id,omitempty"`
	SubnetIds []string `json:"subnet_ids,omitempty"`
}

NetworkProviderMetadata - Metadata describing attributes returned by cloud-provider for the network.

func (*NetworkProviderMetadata) GetSubnetIds added in v0.2.0

func (o *NetworkProviderMetadata) GetSubnetIds() []string

func (*NetworkProviderMetadata) GetVpcID added in v0.2.0

func (o *NetworkProviderMetadata) GetVpcID() *string

type NetworkState added in v0.2.0

type NetworkState string

NetworkState - State of the network.

const (
	NetworkStateCreated      NetworkState = "created"
	NetworkStateInitializing NetworkState = "initializing"
	NetworkStateOffline      NetworkState = "offline"
	NetworkStateReady        NetworkState = "ready"
	NetworkStateTerminating  NetworkState = "terminating"
	NetworkStateTerminated   NetworkState = "terminated"
)

func (NetworkState) ToPointer added in v0.2.0

func (e NetworkState) ToPointer() *NetworkState

func (*NetworkState) UnmarshalJSON added in v0.2.0

func (e *NetworkState) UnmarshalJSON(data []byte) error

type NetworkStateFieldEqualsComparison added in v0.2.0

type NetworkStateFieldEqualsComparison struct {
}

type NetworkStateFieldEqualsFilter added in v0.2.0

type NetworkStateFieldEqualsFilter struct {
	NetworkState                      *NetworkState                      `queryParam:"inline"`
	NetworkStateFieldEqualsComparison *NetworkStateFieldEqualsComparison `queryParam:"inline"`

	Type NetworkStateFieldEqualsFilterType
}

NetworkStateFieldEqualsFilter - Filter a network state by exact match.

func CreateNetworkStateFieldEqualsFilterNetworkState added in v0.2.0

func CreateNetworkStateFieldEqualsFilterNetworkState(networkState NetworkState) NetworkStateFieldEqualsFilter

func CreateNetworkStateFieldEqualsFilterNetworkStateFieldEqualsComparison added in v0.2.0

func CreateNetworkStateFieldEqualsFilterNetworkStateFieldEqualsComparison(networkStateFieldEqualsComparison NetworkStateFieldEqualsComparison) NetworkStateFieldEqualsFilter

func (NetworkStateFieldEqualsFilter) MarshalJSON added in v0.2.0

func (u NetworkStateFieldEqualsFilter) MarshalJSON() ([]byte, error)

func (*NetworkStateFieldEqualsFilter) UnmarshalJSON added in v0.2.0

func (u *NetworkStateFieldEqualsFilter) UnmarshalJSON(data []byte) error

type NetworkStateFieldEqualsFilterType added in v0.2.0

type NetworkStateFieldEqualsFilterType string
const (
	NetworkStateFieldEqualsFilterTypeNetworkState                      NetworkStateFieldEqualsFilterType = "NetworkState"
	NetworkStateFieldEqualsFilterTypeNetworkStateFieldEqualsComparison NetworkStateFieldEqualsFilterType = "NetworkStateFieldEqualsComparison"
)

type NetworkStateFieldFilter added in v0.2.0

type NetworkStateFieldFilter struct {
	NetworkStateFieldEqualsFilter     *NetworkStateFieldEqualsFilter     `queryParam:"inline"`
	NetworkStateFieldNotEqualsFilter  *NetworkStateFieldNotEqualsFilter  `queryParam:"inline"`
	NetworkStateFieldOrEqualityFilter *NetworkStateFieldOrEqualityFilter `queryParam:"inline"`

	Type NetworkStateFieldFilterType
}

func CreateNetworkStateFieldFilterNetworkStateFieldEqualsFilter added in v0.2.0

func CreateNetworkStateFieldFilterNetworkStateFieldEqualsFilter(networkStateFieldEqualsFilter NetworkStateFieldEqualsFilter) NetworkStateFieldFilter

func CreateNetworkStateFieldFilterNetworkStateFieldNotEqualsFilter added in v0.2.0

func CreateNetworkStateFieldFilterNetworkStateFieldNotEqualsFilter(networkStateFieldNotEqualsFilter NetworkStateFieldNotEqualsFilter) NetworkStateFieldFilter

func CreateNetworkStateFieldFilterNetworkStateFieldOrEqualityFilter added in v0.2.0

func CreateNetworkStateFieldFilterNetworkStateFieldOrEqualityFilter(networkStateFieldOrEqualityFilter NetworkStateFieldOrEqualityFilter) NetworkStateFieldFilter

func (NetworkStateFieldFilter) MarshalJSON added in v0.2.0

func (u NetworkStateFieldFilter) MarshalJSON() ([]byte, error)

func (*NetworkStateFieldFilter) UnmarshalJSON added in v0.2.0

func (u *NetworkStateFieldFilter) UnmarshalJSON(data []byte) error

type NetworkStateFieldFilterType added in v0.2.0

type NetworkStateFieldFilterType string
const (
	NetworkStateFieldFilterTypeNetworkStateFieldEqualsFilter     NetworkStateFieldFilterType = "NetworkStateFieldEqualsFilter"
	NetworkStateFieldFilterTypeNetworkStateFieldNotEqualsFilter  NetworkStateFieldFilterType = "NetworkStateFieldNotEqualsFilter"
	NetworkStateFieldFilterTypeNetworkStateFieldOrEqualityFilter NetworkStateFieldFilterType = "NetworkStateFieldOrEqualityFilter"
)

type NetworkStateFieldNotEqualsFilter added in v0.2.0

type NetworkStateFieldNotEqualsFilter struct {
}

NetworkStateFieldNotEqualsFilter - Filter a network state by inequality match.

type NetworkStateFieldOrEqualityFilter added in v0.2.0

type NetworkStateFieldOrEqualityFilter struct {
	Oeq string `queryParam:"name=oeq"`
}

NetworkStateFieldOrEqualityFilter - Filter a network state by determining if the value is equal to any in a set of values, where the set is a comma-delimited list.

func (*NetworkStateFieldOrEqualityFilter) GetOeq added in v0.2.0

type NetworksFilterParameters added in v0.2.0

type NetworksFilterParameters struct {
	Name  *CloudGatewaysStringFieldFilterOverride `queryParam:"name=name"`
	State *NetworkStateFieldFilter                `queryParam:"name=state"`
}

func (*NetworksFilterParameters) GetName added in v0.2.0

func (*NetworksFilterParameters) GetState added in v0.2.0

type OIDCIdentityProviderClaimMappings added in v0.1.29

type OIDCIdentityProviderClaimMappings struct {
	// The claim mapping for the user's name.
	Name *string `json:"name,omitempty"`
	// The claim mapping for the user's email address.
	Email *string `json:"email,omitempty"`
	// The claim mapping for the user's group membership information.
	Groups *string `json:"groups,omitempty"`
}

OIDCIdentityProviderClaimMappings - Defines the mappings between OpenID Connect (OIDC) claims and local claims used by your application for authentication.

func (*OIDCIdentityProviderClaimMappings) GetEmail added in v0.1.29

func (*OIDCIdentityProviderClaimMappings) GetGroups added in v0.1.29

func (o *OIDCIdentityProviderClaimMappings) GetGroups() *string

func (*OIDCIdentityProviderClaimMappings) GetName added in v0.1.29

type OIDCIdentityProviderConfig added in v0.1.29

type OIDCIdentityProviderConfig struct {
	// The issuer URI of the identity provider. This is the URL where the provider's metadata can be obtained.
	IssuerURL string `json:"issuer_url"`
	// The client ID assigned to your application by the identity provider.
	ClientID string `json:"client_id"`
	// The scopes requested by your application when authenticating with the identity provider.
	Scopes []string `json:"scopes,omitempty"`
	// Defines the mappings between OpenID Connect (OIDC) claims and local claims used by your application for
	// authentication.
	//
	ClaimMappings *OIDCIdentityProviderClaimMappings `json:"claim_mappings,omitempty"`
}

OIDCIdentityProviderConfig - The identity provider that contains configuration data for the OIDC authentication integration.

func (*OIDCIdentityProviderConfig) GetClaimMappings added in v0.1.29

func (*OIDCIdentityProviderConfig) GetClientID added in v0.1.29

func (o *OIDCIdentityProviderConfig) GetClientID() string

func (*OIDCIdentityProviderConfig) GetIssuerURL added in v0.1.29

func (o *OIDCIdentityProviderConfig) GetIssuerURL() string

func (*OIDCIdentityProviderConfig) GetScopes added in v0.1.29

func (o *OIDCIdentityProviderConfig) GetScopes() []string

type One

type One struct {
}

type Ordering

type Ordering struct {
	After  *After  `json:"after,omitempty"`
	Before *Before `json:"before,omitempty"`
}

func (*Ordering) GetAfter

func (o *Ordering) GetAfter() *After

func (*Ordering) GetBefore

func (o *Ordering) GetBefore() *Before

type Page

type Page struct {
	Total *int64 `json:"total,omitempty"`
}

func (*Page) GetTotal

func (o *Page) GetTotal() *int64

type PageMeta

type PageMeta struct {
	Number float64 `json:"number"`
	Size   float64 `json:"size"`
	Total  float64 `json:"total"`
}

PageMeta - Contains pagination query parameters and the total number of objects returned.

func (*PageMeta) GetNumber

func (o *PageMeta) GetNumber() float64

func (*PageMeta) GetSize

func (o *PageMeta) GetSize() float64

func (*PageMeta) GetTotal

func (o *PageMeta) GetTotal() float64

type PaginatedMeta

type PaginatedMeta struct {
	// Contains pagination query parameters and the total number of objects returned.
	Page PageMeta `json:"page"`
}

PaginatedMeta - returns the pagination information

func (*PaginatedMeta) GetPage

func (o *PaginatedMeta) GetPage() PageMeta

type Passive

type Passive struct {
	Healthy   *UpstreamHealthy   `json:"healthy,omitempty"`
	Type      *UpstreamType      `json:"type,omitempty"`
	Unhealthy *UpstreamUnhealthy `json:"unhealthy,omitempty"`
}

func (*Passive) DeepCopy

func (in *Passive) DeepCopy() *Passive

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Passive.

func (*Passive) DeepCopyInto

func (in *Passive) DeepCopyInto(out *Passive)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Passive) GetHealthy

func (o *Passive) GetHealthy() *UpstreamHealthy

func (*Passive) GetType

func (o *Passive) GetType() *UpstreamType

func (*Passive) GetUnhealthy

func (o *Passive) GetUnhealthy() *UpstreamUnhealthy

type PatchNetworkRequest added in v0.2.0

type PatchNetworkRequest struct {
	// Human-readable name of the network.
	Name *string `json:"name,omitempty"`
}

PatchNetworkRequest - Request schema for updating a network.

func (*PatchNetworkRequest) GetName added in v0.2.0

func (o *PatchNetworkRequest) GetName() *string

type PatchTeamGroupMappings

type PatchTeamGroupMappings struct {
	// The IdP groups to map to the given team.
	Data []Data `json:"data,omitempty"`
}

PatchTeamGroupMappings - The request schema for a partial update of mappings from Konnect Teams to IdP Groups.

func (*PatchTeamGroupMappings) GetData

func (o *PatchTeamGroupMappings) GetData() []Data

type PathHandling

type PathHandling string

PathHandling - Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior.

const (
	PathHandlingV0 PathHandling = "v0"
	PathHandlingV1 PathHandling = "v1"
)

func (PathHandling) ToPointer

func (e PathHandling) ToPointer() *PathHandling

func (*PathHandling) UnmarshalJSON

func (e *PathHandling) UnmarshalJSON(data []byte) error

type Pem

type Pem struct {
	PrivateKey *string `json:"private_key,omitempty"`
	PublicKey  *string `json:"public_key,omitempty"`
}

Pem - A keypair in PEM format.

func (*Pem) GetPrivateKey

func (o *Pem) GetPrivateKey() *string

func (*Pem) GetPublicKey

func (o *Pem) GetPublicKey() *string

type Plugin

type Plugin struct {
	// The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/).
	Config map[string]any `json:"config"`
	// If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
	Consumer      *PluginConsumer      `json:"consumer,omitempty"`
	ConsumerGroup *PluginConsumerGroup `json:"consumer_group,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Whether the plugin is applied.
	Enabled      *bool   `json:"enabled,omitempty"`
	ID           *string `json:"id,omitempty"`
	InstanceName *string `json:"instance_name,omitempty"`
	// The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.
	Name     string    `json:"name"`
	Ordering *Ordering `json:"ordering,omitempty"`
	// A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`.
	Protocols []Protocols `json:"protocols,omitempty"`
	// If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the Route being used.
	Route *PluginRoute `json:"route,omitempty"`
	// If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
	Service *PluginService `json:"service,omitempty"`
	// An optional set of strings associated with the Plugin for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

A Plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. It is how you can add functionalities to Services that run behind Kong, like Authentication or Rate Limiting for example. You can find more information about how to install and what values each plugin takes by visiting the [Kong Hub](https://docs.konghq.com/hub/). When adding a Plugin Configuration to a Service, every request made by a client to that Service will run said Plugin. If a Plugin needs to be tuned to different values for some specific Consumers, you can do so by creating a separate plugin instance that specifies both the Service and the Consumer, through the `service` and `consumer` fields.

func (*Plugin) GetConfig

func (o *Plugin) GetConfig() map[string]any

func (*Plugin) GetConsumer

func (o *Plugin) GetConsumer() *PluginConsumer

func (*Plugin) GetConsumerGroup

func (o *Plugin) GetConsumerGroup() *PluginConsumerGroup

func (*Plugin) GetCreatedAt

func (o *Plugin) GetCreatedAt() *int64

func (*Plugin) GetEnabled

func (o *Plugin) GetEnabled() *bool

func (*Plugin) GetID

func (o *Plugin) GetID() *string

func (*Plugin) GetInstanceName

func (o *Plugin) GetInstanceName() *string

func (*Plugin) GetName

func (o *Plugin) GetName() string

func (*Plugin) GetOrdering

func (o *Plugin) GetOrdering() *Ordering

func (*Plugin) GetProtocols

func (o *Plugin) GetProtocols() []Protocols

func (*Plugin) GetRoute

func (o *Plugin) GetRoute() *PluginRoute

func (*Plugin) GetService

func (o *Plugin) GetService() *PluginService

func (*Plugin) GetTags

func (o *Plugin) GetTags() []string

func (*Plugin) GetUpdatedAt

func (o *Plugin) GetUpdatedAt() *int64

type PluginAdmin

type PluginAdmin struct {
	Name        RolesControlPlanesRolesPluginAdminName        `json:"name"`
	Description RolesControlPlanesRolesPluginAdminDescription `json:"description"`
}

func (*PluginAdmin) GetDescription

func (*PluginAdmin) GetName

type PluginConsumer

type PluginConsumer struct {
	ID *string `json:"id,omitempty"`
}

PluginConsumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.

func (*PluginConsumer) GetID

func (o *PluginConsumer) GetID() *string

type PluginConsumerGroup

type PluginConsumerGroup struct {
	ID *string `json:"id,omitempty"`
}

func (*PluginConsumerGroup) GetID

func (o *PluginConsumerGroup) GetID() *string

type PluginInput

type PluginInput struct {
	// The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/).
	Config map[string]any `json:"config"`
	// If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
	Consumer      *PluginConsumer      `json:"consumer,omitempty"`
	ConsumerGroup *PluginConsumerGroup `json:"consumer_group,omitempty"`
	// Whether the plugin is applied.
	Enabled      *bool   `json:"enabled,omitempty"`
	ID           *string `json:"id,omitempty"`
	InstanceName *string `json:"instance_name,omitempty"`
	// The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.
	Name     string    `json:"name"`
	Ordering *Ordering `json:"ordering,omitempty"`
	// A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`.
	Protocols []Protocols `json:"protocols,omitempty"`
	// If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the Route being used.
	Route *PluginRoute `json:"route,omitempty"`
	// If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
	Service *PluginService `json:"service,omitempty"`
	// An optional set of strings associated with the Plugin for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

PluginInput - A Plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. It is how you can add functionalities to Services that run behind Kong, like Authentication or Rate Limiting for example. You can find more information about how to install and what values each plugin takes by visiting the [Kong Hub](https://docs.konghq.com/hub/). When adding a Plugin Configuration to a Service, every request made by a client to that Service will run said Plugin. If a Plugin needs to be tuned to different values for some specific Consumers, you can do so by creating a separate plugin instance that specifies both the Service and the Consumer, through the `service` and `consumer` fields.

func (*PluginInput) GetConfig

func (o *PluginInput) GetConfig() map[string]any

func (*PluginInput) GetConsumer

func (o *PluginInput) GetConsumer() *PluginConsumer

func (*PluginInput) GetConsumerGroup

func (o *PluginInput) GetConsumerGroup() *PluginConsumerGroup

func (*PluginInput) GetEnabled

func (o *PluginInput) GetEnabled() *bool

func (*PluginInput) GetID

func (o *PluginInput) GetID() *string

func (*PluginInput) GetInstanceName

func (o *PluginInput) GetInstanceName() *string

func (*PluginInput) GetName

func (o *PluginInput) GetName() string

func (*PluginInput) GetOrdering

func (o *PluginInput) GetOrdering() *Ordering

func (*PluginInput) GetProtocols

func (o *PluginInput) GetProtocols() []Protocols

func (*PluginInput) GetRoute

func (o *PluginInput) GetRoute() *PluginRoute

func (*PluginInput) GetService

func (o *PluginInput) GetService() *PluginService

func (*PluginInput) GetTags

func (o *PluginInput) GetTags() []string

type PluginRoute

type PluginRoute struct {
	ID *string `json:"id,omitempty"`
}

PluginRoute - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the Route being used.

func (*PluginRoute) GetID

func (o *PluginRoute) GetID() *string

type PluginSchemas

type PluginSchemas struct {
	Item *Item `json:"item,omitempty"`
}

PluginSchemas - A response for a single custom plugin schema.

func (*PluginSchemas) GetItem

func (o *PluginSchemas) GetItem() *Item

type PluginService

type PluginService struct {
	ID *string `json:"id,omitempty"`
}

PluginService - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.

func (*PluginService) GetID

func (o *PluginService) GetID() *string

type PluginWithoutParents

type PluginWithoutParents struct {
	// The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/).
	Config map[string]any `json:"config"`
	// If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
	Consumer      *PluginWithoutParentsConsumer      `json:"consumer,omitempty"`
	ConsumerGroup *PluginWithoutParentsConsumerGroup `json:"consumer_group,omitempty"`
	// Whether the plugin is applied.
	Enabled      *bool   `json:"enabled,omitempty"`
	ID           *string `json:"id,omitempty"`
	InstanceName *string `json:"instance_name,omitempty"`
	// The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.
	Name     string                        `json:"name"`
	Ordering *PluginWithoutParentsOrdering `json:"ordering,omitempty"`
	// A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`.
	Protocols []PluginWithoutParentsProtocols `json:"protocols,omitempty"`
	// If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the Route being used.
	Route *PluginWithoutParentsRoute `json:"route,omitempty"`
	// If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
	Service *PluginWithoutParentsService `json:"service,omitempty"`
	// An optional set of strings associated with the Plugin for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

PluginWithoutParents - A Plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. It is how you can add functionalities to Services that run behind Kong, like Authentication or Rate Limiting for example. You can find more information about how to install and what values each plugin takes by visiting the [Kong Hub](https://docs.konghq.com/hub/). When adding a Plugin Configuration to a Service, every request made by a client to that Service will run said Plugin. If a Plugin needs to be tuned to different values for some specific Consumers, you can do so by creating a separate plugin instance that specifies both the Service and the Consumer, through the `service` and `consumer` fields.

func (*PluginWithoutParents) GetConfig

func (o *PluginWithoutParents) GetConfig() map[string]any

func (*PluginWithoutParents) GetConsumer

func (*PluginWithoutParents) GetConsumerGroup

func (*PluginWithoutParents) GetEnabled

func (o *PluginWithoutParents) GetEnabled() *bool

func (*PluginWithoutParents) GetID

func (o *PluginWithoutParents) GetID() *string

func (*PluginWithoutParents) GetInstanceName

func (o *PluginWithoutParents) GetInstanceName() *string

func (*PluginWithoutParents) GetName

func (o *PluginWithoutParents) GetName() string

func (*PluginWithoutParents) GetOrdering

func (*PluginWithoutParents) GetProtocols

func (*PluginWithoutParents) GetRoute

func (*PluginWithoutParents) GetService

func (*PluginWithoutParents) GetTags

func (o *PluginWithoutParents) GetTags() []string

type PluginWithoutParentsAfter

type PluginWithoutParentsAfter struct {
	Access []string `json:"access,omitempty"`
}

func (*PluginWithoutParentsAfter) GetAccess

func (o *PluginWithoutParentsAfter) GetAccess() []string

type PluginWithoutParentsBefore

type PluginWithoutParentsBefore struct {
	Access []string `json:"access,omitempty"`
}

func (*PluginWithoutParentsBefore) GetAccess

func (o *PluginWithoutParentsBefore) GetAccess() []string

type PluginWithoutParentsConsumer

type PluginWithoutParentsConsumer struct {
	ID *string `json:"id,omitempty"`
}

PluginWithoutParentsConsumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.

func (*PluginWithoutParentsConsumer) GetID

type PluginWithoutParentsConsumerGroup

type PluginWithoutParentsConsumerGroup struct {
	ID *string `json:"id,omitempty"`
}

func (*PluginWithoutParentsConsumerGroup) GetID

type PluginWithoutParentsOrdering

type PluginWithoutParentsOrdering struct {
	After  *PluginWithoutParentsAfter  `json:"after,omitempty"`
	Before *PluginWithoutParentsBefore `json:"before,omitempty"`
}

func (*PluginWithoutParentsOrdering) GetAfter

func (*PluginWithoutParentsOrdering) GetBefore

type PluginWithoutParentsProtocols

type PluginWithoutParentsProtocols string
const (
	PluginWithoutParentsProtocolsGrpc           PluginWithoutParentsProtocols = "grpc"
	PluginWithoutParentsProtocolsGrpcs          PluginWithoutParentsProtocols = "grpcs"
	PluginWithoutParentsProtocolsHTTP           PluginWithoutParentsProtocols = "http"
	PluginWithoutParentsProtocolsHTTPS          PluginWithoutParentsProtocols = "https"
	PluginWithoutParentsProtocolsTCP            PluginWithoutParentsProtocols = "tcp"
	PluginWithoutParentsProtocolsTLS            PluginWithoutParentsProtocols = "tls"
	PluginWithoutParentsProtocolsTLSPassthrough PluginWithoutParentsProtocols = "tls_passthrough"
	PluginWithoutParentsProtocolsUDP            PluginWithoutParentsProtocols = "udp"
	PluginWithoutParentsProtocolsWs             PluginWithoutParentsProtocols = "ws"
	PluginWithoutParentsProtocolsWss            PluginWithoutParentsProtocols = "wss"
)

func (PluginWithoutParentsProtocols) ToPointer

func (*PluginWithoutParentsProtocols) UnmarshalJSON

func (e *PluginWithoutParentsProtocols) UnmarshalJSON(data []byte) error

type PluginWithoutParentsRoute

type PluginWithoutParentsRoute struct {
	ID *string `json:"id,omitempty"`
}

PluginWithoutParentsRoute - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the Route being used.

func (*PluginWithoutParentsRoute) GetID

func (o *PluginWithoutParentsRoute) GetID() *string

type PluginWithoutParentsService

type PluginWithoutParentsService struct {
	ID *string `json:"id,omitempty"`
}

PluginWithoutParentsService - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.

func (*PluginWithoutParentsService) GetID

func (o *PluginWithoutParentsService) GetID() *string

type PluginsAdmin

type PluginsAdmin struct {
	Name        RolesAPIProductsRolesPluginsAdminName        `json:"name"`
	Description RolesAPIProductsRolesPluginsAdminDescription `json:"description"`
}

func (*PluginsAdmin) GetDescription

func (*PluginsAdmin) GetName

type Protocol

type Protocol string

Protocol - The protocol used to communicate with the upstream.

const (
	ProtocolGrpc           Protocol = "grpc"
	ProtocolGrpcs          Protocol = "grpcs"
	ProtocolHTTP           Protocol = "http"
	ProtocolHTTPS          Protocol = "https"
	ProtocolTCP            Protocol = "tcp"
	ProtocolTLS            Protocol = "tls"
	ProtocolTLSPassthrough Protocol = "tls_passthrough"
	ProtocolUDP            Protocol = "udp"
	ProtocolWs             Protocol = "ws"
	ProtocolWss            Protocol = "wss"
)

func (Protocol) ToPointer

func (e Protocol) ToPointer() *Protocol

func (*Protocol) UnmarshalJSON

func (e *Protocol) UnmarshalJSON(data []byte) error

type Protocols

type Protocols string
const (
	ProtocolsGrpc           Protocols = "grpc"
	ProtocolsGrpcs          Protocols = "grpcs"
	ProtocolsHTTP           Protocols = "http"
	ProtocolsHTTPS          Protocols = "https"
	ProtocolsTCP            Protocols = "tcp"
	ProtocolsTLS            Protocols = "tls"
	ProtocolsTLSPassthrough Protocols = "tls_passthrough"
	ProtocolsUDP            Protocols = "udp"
	ProtocolsWs             Protocols = "ws"
	ProtocolsWss            Protocols = "wss"
)

func (Protocols) ToPointer

func (e Protocols) ToPointer() *Protocols

func (*Protocols) UnmarshalJSON

func (e *Protocols) UnmarshalJSON(data []byte) error

type Provider added in v0.2.0

type Provider struct {
	// Name of cloud provider.
	Provider ProviderName `json:"provider"`
	// List of available regions to run cloud gateway instances on for a given cloud provider.
	Regions []ProviderRegion `json:"regions"`
}

Provider - Description of cloud provider that runs cloud gateway instances.

func (*Provider) GetProvider added in v0.2.0

func (o *Provider) GetProvider() ProviderName

func (*Provider) GetRegions added in v0.2.0

func (o *Provider) GetRegions() []ProviderRegion

type ProviderAccount added in v0.2.0

type ProviderAccount struct {
	ID string `json:"id"`
	// Name of cloud provider.
	Provider ProviderName `json:"provider"`
	// ID of the cloud provider account.
	ProviderAccountID string `json:"provider_account_id"`
	// An RFC-3339 timestamp representation of provider account creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of provider account update date.
	UpdatedAt time.Time `json:"updated_at"`
}

ProviderAccount - Object containing mapping for organization and cloud provider to account ID.

func (*ProviderAccount) GetCreatedAt added in v0.2.0

func (o *ProviderAccount) GetCreatedAt() time.Time

func (*ProviderAccount) GetID added in v0.2.0

func (o *ProviderAccount) GetID() string

func (*ProviderAccount) GetProvider added in v0.2.0

func (o *ProviderAccount) GetProvider() ProviderName

func (*ProviderAccount) GetProviderAccountID added in v0.2.0

func (o *ProviderAccount) GetProviderAccountID() string

func (*ProviderAccount) GetUpdatedAt added in v0.2.0

func (o *ProviderAccount) GetUpdatedAt() time.Time

func (ProviderAccount) MarshalJSON added in v0.2.0

func (p ProviderAccount) MarshalJSON() ([]byte, error)

func (*ProviderAccount) UnmarshalJSON added in v0.2.0

func (p *ProviderAccount) UnmarshalJSON(data []byte) error

type ProviderAccountsFilterParameters added in v0.2.0

type ProviderAccountsFilterParameters struct {
	Provider *CloudGatewaysStringFieldFilterOverride `queryParam:"name=provider"`
}

func (*ProviderAccountsFilterParameters) GetProvider added in v0.2.0

type ProviderName added in v0.2.0

type ProviderName string

ProviderName - Name of cloud provider.

const (
	ProviderNameAws   ProviderName = "aws"
	ProviderNameAzure ProviderName = "azure"
)

func (ProviderName) ToPointer added in v0.2.0

func (e ProviderName) ToPointer() *ProviderName

func (*ProviderName) UnmarshalJSON added in v0.2.0

func (e *ProviderName) UnmarshalJSON(data []byte) error

type ProviderRegion added in v0.2.0

type ProviderRegion struct {
	// Region ID for cloud provider region.
	Region string `json:"region"`
	// Human-readable name for cloud provider region. The list of available provider regions can be retrieved via the
	// availability endpoint `/v2/cloud-gateways/availability.json`.
	//
	Name string `json:"name"`
	// List of supported availability zones for cloud provider region, for network AZ configuration.
	//
	AvailabilityZones []string `json:"availability_zones"`
	// List of supported CIDR blocks for cloud provider region, for network CIDR block configuration.
	//
	CidrBlocks []string `json:"cidr_blocks"`
	// List of reserved CIDR blocks for cloud provider region, to restrict allowed network CIDR block
	// configuration.
	//
	ReservedCidrBlocks []string `json:"reserved_cidr_blocks"`
}

ProviderRegion - Region ID and human-readable name for a cloud provider region.

func (*ProviderRegion) GetAvailabilityZones added in v0.2.0

func (o *ProviderRegion) GetAvailabilityZones() []string

func (*ProviderRegion) GetCidrBlocks added in v0.2.0

func (o *ProviderRegion) GetCidrBlocks() []string

func (*ProviderRegion) GetName added in v0.2.0

func (o *ProviderRegion) GetName() string

func (*ProviderRegion) GetRegion added in v0.2.0

func (o *ProviderRegion) GetRegion() string

func (*ProviderRegion) GetReservedCidrBlocks added in v0.2.0

func (o *ProviderRegion) GetReservedCidrBlocks() []string

type ProxyURL

type ProxyURL struct {
	// Hostname of the proxy URL.
	Host string `json:"host"`
	// Port of the proxy URL.
	Port int64 `json:"port"`
	// Protocol of the proxy URL.
	Protocol string `json:"protocol"`
}

ProxyURL - Proxy URL associated with reaching the data-planes connected to a control-plane.

func (*ProxyURL) GetHost

func (o *ProxyURL) GetHost() string

func (*ProxyURL) GetPort

func (o *ProxyURL) GetPort() int64

func (*ProxyURL) GetProtocol

func (o *ProxyURL) GetProtocol() string

type Publisher

type Publisher struct {
	Name        RolesAPIProductsRolesPublisherName        `json:"name"`
	Description RolesAPIProductsRolesPublisherDescription `json:"description"`
}

func (*Publisher) GetDescription

func (*Publisher) GetName

type ResourceConfiguration added in v0.2.0

type ResourceConfiguration struct {
	ID string `json:"id"`
	// Enumeration of configuration qualifiers available for organization-wide configuration.
	Qualifier ResourceConfigurationQualifier `json:"qualifier"`
	// The value of this resource configuration.
	Value int64 `json:"value"`
}

ResourceConfiguration - Object containing information about a resource configuration.

func (*ResourceConfiguration) GetID added in v0.2.0

func (o *ResourceConfiguration) GetID() string

func (*ResourceConfiguration) GetQualifier added in v0.2.0

func (*ResourceConfiguration) GetValue added in v0.2.0

func (o *ResourceConfiguration) GetValue() int64

type ResourceConfigurationQualifier added in v0.2.0

type ResourceConfigurationQualifier string

ResourceConfigurationQualifier - Enumeration of configuration qualifiers available for organization-wide configuration.

const (
	ResourceConfigurationQualifierDataPlaneGroupIdleTimeoutMinutes ResourceConfigurationQualifier = "data-plane-group-idle-timeout-minutes"
)

func (ResourceConfigurationQualifier) ToPointer added in v0.2.0

func (*ResourceConfigurationQualifier) UnmarshalJSON added in v0.2.0

func (e *ResourceConfigurationQualifier) UnmarshalJSON(data []byte) error

type ResourceQuota added in v0.2.0

type ResourceQuota struct {
	ID string `json:"id"`
	// Enumeration of resources available for quota enforcement.
	Resource ResourceQuotaQualifier `json:"resource"`
	// The human-readable name of this resource quota.
	Name string `json:"name"`
	// A more verbose description of what this resource quota enforces.
	Description string `json:"description"`
	// The aggregate non-negative integer count of this resource that's allowed for the organization.
	//
	Value int64 `json:"value"`
	// An RFC-3339 timestamp representation of resource quota creation date.
	CreatedAt time.Time `json:"created_at"`
	// An RFC-3339 timestamp representation of resource quota update date.
	UpdatedAt time.Time `json:"updated_at"`
}

ResourceQuota - Object containing information about a resource quota for an organization.

func (*ResourceQuota) GetCreatedAt added in v0.2.0

func (o *ResourceQuota) GetCreatedAt() time.Time

func (*ResourceQuota) GetDescription added in v0.2.0

func (o *ResourceQuota) GetDescription() string

func (*ResourceQuota) GetID added in v0.2.0

func (o *ResourceQuota) GetID() string

func (*ResourceQuota) GetName added in v0.2.0

func (o *ResourceQuota) GetName() string

func (*ResourceQuota) GetResource added in v0.2.0

func (o *ResourceQuota) GetResource() ResourceQuotaQualifier

func (*ResourceQuota) GetUpdatedAt added in v0.2.0

func (o *ResourceQuota) GetUpdatedAt() time.Time

func (*ResourceQuota) GetValue added in v0.2.0

func (o *ResourceQuota) GetValue() int64

func (ResourceQuota) MarshalJSON added in v0.2.0

func (r ResourceQuota) MarshalJSON() ([]byte, error)

func (*ResourceQuota) UnmarshalJSON added in v0.2.0

func (r *ResourceQuota) UnmarshalJSON(data []byte) error

type ResourceQuotaQualifier added in v0.2.0

type ResourceQuotaQualifier string

ResourceQuotaQualifier - Enumeration of resources available for quota enforcement.

const (
	ResourceQuotaQualifierCountProviderAccountsPerProvider  ResourceQuotaQualifier = "count/provider-accounts.per-provider"
	ResourceQuotaQualifierCountNetworksNotOffline           ResourceQuotaQualifier = "count/networks.not-offline"
	ResourceQuotaQualifierCountDataPlanesEstimate           ResourceQuotaQualifier = "count/data-planes-estimate"
	ResourceQuotaQualifierCountServerlessDataPlanesEstimate ResourceQuotaQualifier = "count/serverless-data-planes-estimate"
)

func (ResourceQuotaQualifier) ToPointer added in v0.2.0

func (*ResourceQuotaQualifier) UnmarshalJSON added in v0.2.0

func (e *ResourceQuotaQualifier) UnmarshalJSON(data []byte) error

type RoleName

type RoleName string

RoleName - The desired role.

const (
	RoleNameAdmin                     RoleName = "Admin"
	RoleNameAppearanceMaintainer      RoleName = "Appearance Maintainer"
	RoleNameApplicationRegistration   RoleName = "Application Registration"
	RoleNameCertificateAdmin          RoleName = "Certificate Admin"
	RoleNameCloudGatewayClusterAdmin  RoleName = "Cloud Gateway Cluster Admin"
	RoleNameCloudGatewayClusterViewer RoleName = "Cloud Gateway Cluster Viewer"
	RoleNameConsumerAdmin             RoleName = "Consumer Admin"
	RoleNameCreator                   RoleName = "Creator"
	RoleNameDeployer                  RoleName = "Deployer"
	RoleNameDiscoveryAdmin            RoleName = "Discovery Admin"
	RoleNameDiscoveryViewer           RoleName = "Discovery Viewer"
	RoleNameGatewayServiceAdmin       RoleName = "Gateway Service Admin"
	RoleNameIntegrationAdmin          RoleName = "Integration Admin"
	RoleNameIntegrationViewer         RoleName = "Integration Viewer"
	RoleNameKeyAdmin                  RoleName = "Key Admin"
	RoleNameMaintainer                RoleName = "Maintainer"
	RoleNameNetworkAdmin              RoleName = "Network Admin"
	RoleNameNetworkCreator            RoleName = "Network Creator"
	RoleNameNetworkViewer             RoleName = "Network Viewer"
	RoleNamePluginAdmin               RoleName = "Plugin Admin"
	RoleNamePluginsAdmin              RoleName = "Plugins Admin"
	RoleNameProductPublisher          RoleName = "Product Publisher"
	RoleNamePublisher                 RoleName = "Publisher"
	RoleNameRouteAdmin                RoleName = "Route Admin"
	RoleNameSniAdmin                  RoleName = "SNI Admin"
	RoleNameServiceAdmin              RoleName = "Service Admin"
	RoleNameServiceCreator            RoleName = "Service Creator"
	RoleNameServiceViewer             RoleName = "Service Viewer"
	RoleNameUpstreamAdmin             RoleName = "Upstream Admin"
	RoleNameVaultAdmin                RoleName = "Vault Admin"
	RoleNameViewer                    RoleName = "Viewer"
)

func (RoleName) ToPointer

func (e RoleName) ToPointer() *RoleName

func (*RoleName) UnmarshalJSON

func (e *RoleName) UnmarshalJSON(data []byte) error

type Roles

type Roles struct {
	ControlPlanes     *ControlPlanes     `json:"control_planes,omitempty"`
	APIProducts       *APIProducts       `json:"api_products,omitempty"`
	AuditLogs         *AuditLogs         `json:"audit_logs,omitempty"`
	Identity          *Identity          `json:"identity,omitempty"`
	MeshControlPlanes *MeshControlPlanes `json:"mesh_control_planes,omitempty"`
}

Roles - The predefined, or system managed, roles.

func (*Roles) GetAPIProducts

func (o *Roles) GetAPIProducts() *APIProducts

func (*Roles) GetAuditLogs

func (o *Roles) GetAuditLogs() *AuditLogs

func (*Roles) GetControlPlanes

func (o *Roles) GetControlPlanes() *ControlPlanes

func (*Roles) GetIdentity

func (o *Roles) GetIdentity() *Identity

func (*Roles) GetMeshControlPlanes

func (o *Roles) GetMeshControlPlanes() *MeshControlPlanes

type RolesAPIProductsDescription

type RolesAPIProductsDescription string
const (
	RolesAPIProductsDescriptionThisRoleGrantsFullWriteAccessToAnAPIProductAndItsVersions RolesAPIProductsDescription = "This role grants full write access to an API product and its versions."
)

func (RolesAPIProductsDescription) ToPointer

func (*RolesAPIProductsDescription) UnmarshalJSON

func (e *RolesAPIProductsDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsName

type RolesAPIProductsName string
const (
	RolesAPIProductsNameAPIProducts RolesAPIProductsName = "API Products"
)

func (RolesAPIProductsName) ToPointer

func (*RolesAPIProductsName) UnmarshalJSON

func (e *RolesAPIProductsName) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesApplicationRegistrationName

type RolesAPIProductsRolesApplicationRegistrationName string
const (
	RolesAPIProductsRolesApplicationRegistrationNameApplicationRegistration RolesAPIProductsRolesApplicationRegistrationName = "Application Registration"
)

func (RolesAPIProductsRolesApplicationRegistrationName) ToPointer

func (*RolesAPIProductsRolesApplicationRegistrationName) UnmarshalJSON

type RolesAPIProductsRolesCreatorDescription

type RolesAPIProductsRolesCreatorDescription string
const (
	RolesAPIProductsRolesCreatorDescriptionThisAccessIsRequiredToCreateAPIProductsThisAccessIsNotForCreatingSubEntitiesSuchAsVersionsAPISpecsEtc RolesAPIProductsRolesCreatorDescription = "" /* 126-byte string literal not displayed */
)

func (RolesAPIProductsRolesCreatorDescription) ToPointer

func (*RolesAPIProductsRolesCreatorDescription) UnmarshalJSON

func (e *RolesAPIProductsRolesCreatorDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesCreatorName

type RolesAPIProductsRolesCreatorName string
const (
	RolesAPIProductsRolesCreatorNameCreator RolesAPIProductsRolesCreatorName = "Creator"
)

func (RolesAPIProductsRolesCreatorName) ToPointer

func (*RolesAPIProductsRolesCreatorName) UnmarshalJSON

func (e *RolesAPIProductsRolesCreatorName) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesDeployerDescription

type RolesAPIProductsRolesDeployerDescription string
const (
	RolesAPIProductsRolesDeployerDescriptionThisRoleGrantsPermissionToDeployAndRemoveAnAPIProductFromAControlPlane RolesAPIProductsRolesDeployerDescription = "This role grants permission to deploy and remove an API product from a control plane."
)

func (RolesAPIProductsRolesDeployerDescription) ToPointer

func (*RolesAPIProductsRolesDeployerDescription) UnmarshalJSON

func (e *RolesAPIProductsRolesDeployerDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesDeployerName

type RolesAPIProductsRolesDeployerName string
const (
	RolesAPIProductsRolesDeployerNameDeployer RolesAPIProductsRolesDeployerName = "Deployer"
)

func (RolesAPIProductsRolesDeployerName) ToPointer

func (*RolesAPIProductsRolesDeployerName) UnmarshalJSON

func (e *RolesAPIProductsRolesDeployerName) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesDescription

type RolesAPIProductsRolesDescription string
const (
	RolesAPIProductsRolesDescriptionThisRoleGrantsPermissionToEnableAndDisableApplicationRegistrationOnAnAPIProduct RolesAPIProductsRolesDescription = "This role grants permission to enable and disable application registration on an API product."
)

func (RolesAPIProductsRolesDescription) ToPointer

func (*RolesAPIProductsRolesDescription) UnmarshalJSON

func (e *RolesAPIProductsRolesDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesMaintainerDescription

type RolesAPIProductsRolesMaintainerDescription string
const (
	RolesAPIProductsRolesMaintainerDescriptionThisRoleGrantsAllWritePermissionToManageAnAPIProductAndToAdministerPlugins RolesAPIProductsRolesMaintainerDescription = "This role grants all write permission to manage an API product and to administer plugins."
)

func (RolesAPIProductsRolesMaintainerDescription) ToPointer

func (*RolesAPIProductsRolesMaintainerDescription) UnmarshalJSON

func (e *RolesAPIProductsRolesMaintainerDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesMaintainerName

type RolesAPIProductsRolesMaintainerName string
const (
	RolesAPIProductsRolesMaintainerNameMaintainer RolesAPIProductsRolesMaintainerName = "Maintainer"
)

func (RolesAPIProductsRolesMaintainerName) ToPointer

func (*RolesAPIProductsRolesMaintainerName) UnmarshalJSON

func (e *RolesAPIProductsRolesMaintainerName) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesName

type RolesAPIProductsRolesName string
const (
	RolesAPIProductsRolesNameAdmin RolesAPIProductsRolesName = "Admin"
)

func (RolesAPIProductsRolesName) ToPointer

func (*RolesAPIProductsRolesName) UnmarshalJSON

func (e *RolesAPIProductsRolesName) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesPluginsAdminDescription

type RolesAPIProductsRolesPluginsAdminDescription string
const (
	RolesAPIProductsRolesPluginsAdminDescriptionThisRoleGrantsFullWritePermissionToAdministerPlugins RolesAPIProductsRolesPluginsAdminDescription = "This role grants full write permission to administer plugins."
)

func (RolesAPIProductsRolesPluginsAdminDescription) ToPointer

func (*RolesAPIProductsRolesPluginsAdminDescription) UnmarshalJSON

func (e *RolesAPIProductsRolesPluginsAdminDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesPluginsAdminName

type RolesAPIProductsRolesPluginsAdminName string
const (
	RolesAPIProductsRolesPluginsAdminNamePluginsAdmin RolesAPIProductsRolesPluginsAdminName = "Plugins Admin"
)

func (RolesAPIProductsRolesPluginsAdminName) ToPointer

func (*RolesAPIProductsRolesPluginsAdminName) UnmarshalJSON

func (e *RolesAPIProductsRolesPluginsAdminName) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesPublisherDescription

type RolesAPIProductsRolesPublisherDescription string
const (
	RolesAPIProductsRolesPublisherDescriptionThisRoleGrantsPermissionToPublishAnAPIProductToOneOrMorePortals RolesAPIProductsRolesPublisherDescription = "This role grants permission to publish an API product to one or more portals."
)

func (RolesAPIProductsRolesPublisherDescription) ToPointer

func (*RolesAPIProductsRolesPublisherDescription) UnmarshalJSON

func (e *RolesAPIProductsRolesPublisherDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesPublisherName

type RolesAPIProductsRolesPublisherName string
const (
	RolesAPIProductsRolesPublisherNamePublisher RolesAPIProductsRolesPublisherName = "Publisher"
)

func (RolesAPIProductsRolesPublisherName) ToPointer

func (*RolesAPIProductsRolesPublisherName) UnmarshalJSON

func (e *RolesAPIProductsRolesPublisherName) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesViewerDescription

type RolesAPIProductsRolesViewerDescription string
const (
	RolesAPIProductsRolesViewerDescriptionViewerHasReadOnlyAccessToAnAPIProductAndItsSubEntities RolesAPIProductsRolesViewerDescription = "Viewer has read-only access to an API product and its sub-entities."
)

func (RolesAPIProductsRolesViewerDescription) ToPointer

func (*RolesAPIProductsRolesViewerDescription) UnmarshalJSON

func (e *RolesAPIProductsRolesViewerDescription) UnmarshalJSON(data []byte) error

type RolesAPIProductsRolesViewerName

type RolesAPIProductsRolesViewerName string
const (
	RolesAPIProductsRolesViewerNameViewer RolesAPIProductsRolesViewerName = "Viewer"
)

func (RolesAPIProductsRolesViewerName) ToPointer

func (*RolesAPIProductsRolesViewerName) UnmarshalJSON

func (e *RolesAPIProductsRolesViewerName) UnmarshalJSON(data []byte) error

type RolesAdmin

type RolesAdmin struct {
	Name        RolesAPIProductsRolesName   `json:"name"`
	Description RolesAPIProductsDescription `json:"description"`
}

func (*RolesAdmin) GetDescription

func (o *RolesAdmin) GetDescription() RolesAPIProductsDescription

func (*RolesAdmin) GetName

type RolesAuditLogsAdmin

type RolesAuditLogsAdmin struct {
	Name        RolesAuditLogsRolesName   `json:"name"`
	Description RolesAuditLogsDescription `json:"description"`
}

func (*RolesAuditLogsAdmin) GetDescription

func (o *RolesAuditLogsAdmin) GetDescription() RolesAuditLogsDescription

func (*RolesAuditLogsAdmin) GetName

type RolesAuditLogsDescription

type RolesAuditLogsDescription string
const (
	RolesAuditLogsDescriptionThisRoleGrantsFullWriteAccessToTheAuditLogConfiguration RolesAuditLogsDescription = "This role grants full write access to the Audit log configuration."
)

func (RolesAuditLogsDescription) ToPointer

func (*RolesAuditLogsDescription) UnmarshalJSON

func (e *RolesAuditLogsDescription) UnmarshalJSON(data []byte) error

type RolesAuditLogsName

type RolesAuditLogsName string
const (
	RolesAuditLogsNameAuditLogs RolesAuditLogsName = "Audit Logs"
)

func (RolesAuditLogsName) ToPointer

func (e RolesAuditLogsName) ToPointer() *RolesAuditLogsName

func (*RolesAuditLogsName) UnmarshalJSON

func (e *RolesAuditLogsName) UnmarshalJSON(data []byte) error

type RolesAuditLogsRoles

type RolesAuditLogsRoles struct {
	Admin *RolesAuditLogsAdmin `json:"admin,omitempty"`
}

func (*RolesAuditLogsRoles) GetAdmin

type RolesAuditLogsRolesName

type RolesAuditLogsRolesName string
const (
	RolesAuditLogsRolesNameAdmin RolesAuditLogsRolesName = "Admin"
)

func (RolesAuditLogsRolesName) ToPointer

func (*RolesAuditLogsRolesName) UnmarshalJSON

func (e *RolesAuditLogsRolesName) UnmarshalJSON(data []byte) error

type RolesControlPlanesDescription

type RolesControlPlanesDescription string
const (
	RolesControlPlanesDescriptionThisRoleGrantsFullWriteAccessToAdministerConsumers RolesControlPlanesDescription = "This role grants full write access to administer consumers."
)

func (RolesControlPlanesDescription) ToPointer

func (*RolesControlPlanesDescription) UnmarshalJSON

func (e *RolesControlPlanesDescription) UnmarshalJSON(data []byte) error

type RolesControlPlanesName

type RolesControlPlanesName string
const (
	RolesControlPlanesNameAdmin RolesControlPlanesName = "Admin"
)

func (RolesControlPlanesName) ToPointer

func (*RolesControlPlanesName) UnmarshalJSON

func (e *RolesControlPlanesName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRoles

type RolesControlPlanesRoles struct {
	Admin               *Admin               `json:"admin,omitempty"`
	CertificateAdmin    *CertificateAdmin    `json:"certificate_admin,omitempty"`
	ConsumerAdmin       *ConsumerAdmin       `json:"consumer_admin,omitempty"`
	Creator             *Creator             `json:"creator,omitempty"`
	Deployer            *Deployer            `json:"deployer,omitempty"`
	GatewayServiceAdmin *GatewayServiceAdmin `json:"gateway_service_admin,omitempty"`
	PluginAdmin         *PluginAdmin         `json:"plugin_admin,omitempty"`
	RouteAdmin          *RouteAdmin          `json:"route_admin,omitempty"`
	SniAdmin            *SniAdmin            `json:"sni_admin,omitempty"`
	UpstreamAdmin       *UpstreamAdmin       `json:"upstream_admin,omitempty"`
	Viewer              *Viewer              `json:"viewer,omitempty"`
}

func (*RolesControlPlanesRoles) GetAdmin

func (o *RolesControlPlanesRoles) GetAdmin() *Admin

func (*RolesControlPlanesRoles) GetCertificateAdmin

func (o *RolesControlPlanesRoles) GetCertificateAdmin() *CertificateAdmin

func (*RolesControlPlanesRoles) GetConsumerAdmin

func (o *RolesControlPlanesRoles) GetConsumerAdmin() *ConsumerAdmin

func (*RolesControlPlanesRoles) GetCreator

func (o *RolesControlPlanesRoles) GetCreator() *Creator

func (*RolesControlPlanesRoles) GetDeployer

func (o *RolesControlPlanesRoles) GetDeployer() *Deployer

func (*RolesControlPlanesRoles) GetGatewayServiceAdmin

func (o *RolesControlPlanesRoles) GetGatewayServiceAdmin() *GatewayServiceAdmin

func (*RolesControlPlanesRoles) GetPluginAdmin

func (o *RolesControlPlanesRoles) GetPluginAdmin() *PluginAdmin

func (*RolesControlPlanesRoles) GetRouteAdmin

func (o *RolesControlPlanesRoles) GetRouteAdmin() *RouteAdmin

func (*RolesControlPlanesRoles) GetSniAdmin

func (o *RolesControlPlanesRoles) GetSniAdmin() *SniAdmin

func (*RolesControlPlanesRoles) GetUpstreamAdmin

func (o *RolesControlPlanesRoles) GetUpstreamAdmin() *UpstreamAdmin

func (*RolesControlPlanesRoles) GetViewer

func (o *RolesControlPlanesRoles) GetViewer() *Viewer

type RolesControlPlanesRolesConsumerAdminName

type RolesControlPlanesRolesConsumerAdminName string
const (
	RolesControlPlanesRolesConsumerAdminNameConsumerAdmin RolesControlPlanesRolesConsumerAdminName = "Consumer Admin"
)

func (RolesControlPlanesRolesConsumerAdminName) ToPointer

func (*RolesControlPlanesRolesConsumerAdminName) UnmarshalJSON

func (e *RolesControlPlanesRolesConsumerAdminName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesCreatorName

type RolesControlPlanesRolesCreatorName string
const (
	RolesControlPlanesRolesCreatorNameCreator RolesControlPlanesRolesCreatorName = "Creator"
)

func (RolesControlPlanesRolesCreatorName) ToPointer

func (*RolesControlPlanesRolesCreatorName) UnmarshalJSON

func (e *RolesControlPlanesRolesCreatorName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesDeployerDescription

type RolesControlPlanesRolesDeployerDescription string
const (
	RolesControlPlanesRolesDeployerDescriptionThisRoleGrantsFullWriteAccessToAdministerServicesRoutesAndPluginsNecessaryToDeployServicesInServiceHub RolesControlPlanesRolesDeployerDescription = "This role grants full write access to administer services, routes and plugins necessary to deploy services in Service Hub."
)

func (RolesControlPlanesRolesDeployerDescription) ToPointer

func (*RolesControlPlanesRolesDeployerDescription) UnmarshalJSON

func (e *RolesControlPlanesRolesDeployerDescription) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesDeployerName

type RolesControlPlanesRolesDeployerName string
const (
	RolesControlPlanesRolesDeployerNameDeployer RolesControlPlanesRolesDeployerName = "Deployer"
)

func (RolesControlPlanesRolesDeployerName) ToPointer

func (*RolesControlPlanesRolesDeployerName) UnmarshalJSON

func (e *RolesControlPlanesRolesDeployerName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesDescription

type RolesControlPlanesRolesDescription string
const (
	RolesControlPlanesRolesDescriptionCreatesANewControlPlaneInAnOrganizationTheCreatorBecomesTheOwnerOfTheControlPlaneTheyCreate RolesControlPlanesRolesDescription = "Creates a new Control Plane in an organization. The creator becomes the owner of the Control Plane they create."
)

func (RolesControlPlanesRolesDescription) ToPointer

func (*RolesControlPlanesRolesDescription) UnmarshalJSON

func (e *RolesControlPlanesRolesDescription) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesGatewayServiceAdminDescription

type RolesControlPlanesRolesGatewayServiceAdminDescription string
const (
	RolesControlPlanesRolesGatewayServiceAdminDescriptionThisRoleGrantsFullWriteAccessToAdministerGatewayServices RolesControlPlanesRolesGatewayServiceAdminDescription = "This role grants full write access to administer gateway services."
)

func (RolesControlPlanesRolesGatewayServiceAdminDescription) ToPointer

func (*RolesControlPlanesRolesGatewayServiceAdminDescription) UnmarshalJSON

type RolesControlPlanesRolesGatewayServiceAdminName

type RolesControlPlanesRolesGatewayServiceAdminName string
const (
	RolesControlPlanesRolesGatewayServiceAdminNameGatewayServiceAdmin RolesControlPlanesRolesGatewayServiceAdminName = "Gateway Service Admin"
)

func (RolesControlPlanesRolesGatewayServiceAdminName) ToPointer

func (*RolesControlPlanesRolesGatewayServiceAdminName) UnmarshalJSON

type RolesControlPlanesRolesName

type RolesControlPlanesRolesName string
const (
	RolesControlPlanesRolesNameCertificateAdmin RolesControlPlanesRolesName = "Certificate Admin"
)

func (RolesControlPlanesRolesName) ToPointer

func (*RolesControlPlanesRolesName) UnmarshalJSON

func (e *RolesControlPlanesRolesName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesPluginAdminDescription

type RolesControlPlanesRolesPluginAdminDescription string
const (
	RolesControlPlanesRolesPluginAdminDescriptionThisRoleGrantsFullWriteAccessToAdministerPlugins RolesControlPlanesRolesPluginAdminDescription = "This role grants full write access to administer plugins."
)

func (RolesControlPlanesRolesPluginAdminDescription) ToPointer

func (*RolesControlPlanesRolesPluginAdminDescription) UnmarshalJSON

func (e *RolesControlPlanesRolesPluginAdminDescription) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesPluginAdminName

type RolesControlPlanesRolesPluginAdminName string
const (
	RolesControlPlanesRolesPluginAdminNamePluginAdmin RolesControlPlanesRolesPluginAdminName = "Plugin Admin"
)

func (RolesControlPlanesRolesPluginAdminName) ToPointer

func (*RolesControlPlanesRolesPluginAdminName) UnmarshalJSON

func (e *RolesControlPlanesRolesPluginAdminName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesRouteAdminDescription

type RolesControlPlanesRolesRouteAdminDescription string
const (
	RolesControlPlanesRolesRouteAdminDescriptionThisRoleGrantsFullWriteAccessToAdministerRoutes RolesControlPlanesRolesRouteAdminDescription = "This role grants full write access to administer routes."
)

func (RolesControlPlanesRolesRouteAdminDescription) ToPointer

func (*RolesControlPlanesRolesRouteAdminDescription) UnmarshalJSON

func (e *RolesControlPlanesRolesRouteAdminDescription) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesRouteAdminName

type RolesControlPlanesRolesRouteAdminName string
const (
	RolesControlPlanesRolesRouteAdminNameRouteAdmin RolesControlPlanesRolesRouteAdminName = "Route Admin"
)

func (RolesControlPlanesRolesRouteAdminName) ToPointer

func (*RolesControlPlanesRolesRouteAdminName) UnmarshalJSON

func (e *RolesControlPlanesRolesRouteAdminName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesSniAdminDescription

type RolesControlPlanesRolesSniAdminDescription string
const (
	RolesControlPlanesRolesSniAdminDescriptionThisRoleGrantsFullWriteAccessToAdministerSnIs RolesControlPlanesRolesSniAdminDescription = "This role grants full write access to administer SNIs."
)

func (RolesControlPlanesRolesSniAdminDescription) ToPointer

func (*RolesControlPlanesRolesSniAdminDescription) UnmarshalJSON

func (e *RolesControlPlanesRolesSniAdminDescription) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesSniAdminName

type RolesControlPlanesRolesSniAdminName string
const (
	RolesControlPlanesRolesSniAdminNameSniAdmin RolesControlPlanesRolesSniAdminName = "SNI Admin"
)

func (RolesControlPlanesRolesSniAdminName) ToPointer

func (*RolesControlPlanesRolesSniAdminName) UnmarshalJSON

func (e *RolesControlPlanesRolesSniAdminName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesUpstreamAdminDescription

type RolesControlPlanesRolesUpstreamAdminDescription string
const (
	RolesControlPlanesRolesUpstreamAdminDescriptionThisRoleGrantsFullWriteAccessToAdministerUpstreams RolesControlPlanesRolesUpstreamAdminDescription = "This role grants full write access to administer upstreams."
)

func (RolesControlPlanesRolesUpstreamAdminDescription) ToPointer

func (*RolesControlPlanesRolesUpstreamAdminDescription) UnmarshalJSON

type RolesControlPlanesRolesUpstreamAdminName

type RolesControlPlanesRolesUpstreamAdminName string
const (
	RolesControlPlanesRolesUpstreamAdminNameUpstreamAdmin RolesControlPlanesRolesUpstreamAdminName = "Upstream Admin"
)

func (RolesControlPlanesRolesUpstreamAdminName) ToPointer

func (*RolesControlPlanesRolesUpstreamAdminName) UnmarshalJSON

func (e *RolesControlPlanesRolesUpstreamAdminName) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesViewerDescription

type RolesControlPlanesRolesViewerDescription string
const (
	RolesControlPlanesRolesViewerDescriptionThisRoleGrantsReadOnlyAccessToAllEntitiesWithinAControlPlane RolesControlPlanesRolesViewerDescription = "This role grants read only access to all entities within a control plane."
)

func (RolesControlPlanesRolesViewerDescription) ToPointer

func (*RolesControlPlanesRolesViewerDescription) UnmarshalJSON

func (e *RolesControlPlanesRolesViewerDescription) UnmarshalJSON(data []byte) error

type RolesControlPlanesRolesViewerName

type RolesControlPlanesRolesViewerName string
const (
	RolesControlPlanesRolesViewerNameViewer RolesControlPlanesRolesViewerName = "Viewer"
)

func (RolesControlPlanesRolesViewerName) ToPointer

func (*RolesControlPlanesRolesViewerName) UnmarshalJSON

func (e *RolesControlPlanesRolesViewerName) UnmarshalJSON(data []byte) error

type RolesCreator

type RolesCreator struct {
	Name        RolesAPIProductsRolesCreatorName        `json:"name"`
	Description RolesAPIProductsRolesCreatorDescription `json:"description"`
}

func (*RolesCreator) GetDescription

func (*RolesCreator) GetName

type RolesDeployer

type RolesDeployer struct {
	Name        RolesAPIProductsRolesDeployerName        `json:"name"`
	Description RolesAPIProductsRolesDeployerDescription `json:"description"`
}

func (*RolesDeployer) GetDescription

func (*RolesDeployer) GetName

type RolesDescription

type RolesDescription string
const (
	RolesDescriptionThisRoleGrantsFullWriteAccessToAdministerCertificates RolesDescription = "This role grants full write access to administer certificates."
)

func (RolesDescription) ToPointer

func (e RolesDescription) ToPointer() *RolesDescription

func (*RolesDescription) UnmarshalJSON

func (e *RolesDescription) UnmarshalJSON(data []byte) error

type RolesIdentityAdmin

type RolesIdentityAdmin struct {
	Name        RolesIdentityRolesName   `json:"name"`
	Description RolesIdentityDescription `json:"description"`
}

func (*RolesIdentityAdmin) GetDescription

func (o *RolesIdentityAdmin) GetDescription() RolesIdentityDescription

func (*RolesIdentityAdmin) GetName

type RolesIdentityDescription

type RolesIdentityDescription string
const (
	RolesIdentityDescriptionThisRoleGrantsFullWriteAccessToTheIdentityConfiguration RolesIdentityDescription = "This role grants full write access to the Identity configuration."
)

func (RolesIdentityDescription) ToPointer

func (*RolesIdentityDescription) UnmarshalJSON

func (e *RolesIdentityDescription) UnmarshalJSON(data []byte) error

type RolesIdentityName

type RolesIdentityName string
const (
	RolesIdentityNameIdentity RolesIdentityName = "Identity"
)

func (RolesIdentityName) ToPointer

func (e RolesIdentityName) ToPointer() *RolesIdentityName

func (*RolesIdentityName) UnmarshalJSON

func (e *RolesIdentityName) UnmarshalJSON(data []byte) error

type RolesIdentityRoles

type RolesIdentityRoles struct {
	Admin *RolesIdentityAdmin `json:"admin,omitempty"`
}

func (*RolesIdentityRoles) GetAdmin

func (o *RolesIdentityRoles) GetAdmin() *RolesIdentityAdmin

type RolesIdentityRolesName

type RolesIdentityRolesName string
const (
	RolesIdentityRolesNameAdmin RolesIdentityRolesName = "Admin"
)

func (RolesIdentityRolesName) ToPointer

func (*RolesIdentityRolesName) UnmarshalJSON

func (e *RolesIdentityRolesName) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesAdmin

type RolesMeshControlPlanesAdmin struct {
	Name        RolesMeshControlPlanesRolesName   `json:"name"`
	Description RolesMeshControlPlanesDescription `json:"description"`
}

func (*RolesMeshControlPlanesAdmin) GetDescription

func (*RolesMeshControlPlanesAdmin) GetName

type RolesMeshControlPlanesCreator

type RolesMeshControlPlanesCreator struct {
	Name        RolesMeshControlPlanesRolesCreatorName `json:"name"`
	Description RolesMeshControlPlanesRolesDescription `json:"description"`
}

func (*RolesMeshControlPlanesCreator) GetDescription

func (*RolesMeshControlPlanesCreator) GetName

type RolesMeshControlPlanesDescription

type RolesMeshControlPlanesDescription string
const (
	RolesMeshControlPlanesDescriptionThisRoleGrantsFullWriteAccessToTheRelatedToMeshControlPlanes RolesMeshControlPlanesDescription = "This role grants full write access to the related to Mesh control planes."
)

func (RolesMeshControlPlanesDescription) ToPointer

func (*RolesMeshControlPlanesDescription) UnmarshalJSON

func (e *RolesMeshControlPlanesDescription) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesName

type RolesMeshControlPlanesName string
const (
	RolesMeshControlPlanesNameMeshControlPlane RolesMeshControlPlanesName = "Mesh Control Plane"
)

func (RolesMeshControlPlanesName) ToPointer

func (*RolesMeshControlPlanesName) UnmarshalJSON

func (e *RolesMeshControlPlanesName) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesRoles

type RolesMeshControlPlanesRoles struct {
	Admin   *RolesMeshControlPlanesAdmin   `json:"admin,omitempty"`
	Creator *RolesMeshControlPlanesCreator `json:"creator,omitempty"`
	Viewer  *RolesMeshControlPlanesViewer  `json:"viewer,omitempty"`
}

func (*RolesMeshControlPlanesRoles) GetAdmin

func (*RolesMeshControlPlanesRoles) GetCreator

func (*RolesMeshControlPlanesRoles) GetViewer

type RolesMeshControlPlanesRolesCreatorName

type RolesMeshControlPlanesRolesCreatorName string
const (
	RolesMeshControlPlanesRolesCreatorNameCreator RolesMeshControlPlanesRolesCreatorName = "Creator"
)

func (RolesMeshControlPlanesRolesCreatorName) ToPointer

func (*RolesMeshControlPlanesRolesCreatorName) UnmarshalJSON

func (e *RolesMeshControlPlanesRolesCreatorName) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesRolesDescription

type RolesMeshControlPlanesRolesDescription string
const (
	RolesMeshControlPlanesRolesDescriptionThisRoleGrantsAccessToCreateNewMeshControlPlanes RolesMeshControlPlanesRolesDescription = "This role grants access to create new Mesh control planes."
)

func (RolesMeshControlPlanesRolesDescription) ToPointer

func (*RolesMeshControlPlanesRolesDescription) UnmarshalJSON

func (e *RolesMeshControlPlanesRolesDescription) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesRolesName

type RolesMeshControlPlanesRolesName string
const (
	RolesMeshControlPlanesRolesNameAdmin RolesMeshControlPlanesRolesName = "Admin"
)

func (RolesMeshControlPlanesRolesName) ToPointer

func (*RolesMeshControlPlanesRolesName) UnmarshalJSON

func (e *RolesMeshControlPlanesRolesName) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesRolesViewerDescription

type RolesMeshControlPlanesRolesViewerDescription string
const (
	RolesMeshControlPlanesRolesViewerDescriptionThisRoleGrantsAccessToReadOnlyPermissionsToMeshControlPlanes RolesMeshControlPlanesRolesViewerDescription = "This role grants access to read-only permissions to Mesh control planes."
)

func (RolesMeshControlPlanesRolesViewerDescription) ToPointer

func (*RolesMeshControlPlanesRolesViewerDescription) UnmarshalJSON

func (e *RolesMeshControlPlanesRolesViewerDescription) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesRolesViewerName

type RolesMeshControlPlanesRolesViewerName string
const (
	RolesMeshControlPlanesRolesViewerNameViewer RolesMeshControlPlanesRolesViewerName = "Viewer"
)

func (RolesMeshControlPlanesRolesViewerName) ToPointer

func (*RolesMeshControlPlanesRolesViewerName) UnmarshalJSON

func (e *RolesMeshControlPlanesRolesViewerName) UnmarshalJSON(data []byte) error

type RolesMeshControlPlanesViewer

type RolesMeshControlPlanesViewer struct {
	Name        RolesMeshControlPlanesRolesViewerName        `json:"name"`
	Description RolesMeshControlPlanesRolesViewerDescription `json:"description"`
}

func (*RolesMeshControlPlanesViewer) GetDescription

func (*RolesMeshControlPlanesViewer) GetName

type RolesName

type RolesName string
const (
	RolesNameControlPlanes RolesName = "Control Planes"
)

func (RolesName) ToPointer

func (e RolesName) ToPointer() *RolesName

func (*RolesName) UnmarshalJSON

func (e *RolesName) UnmarshalJSON(data []byte) error

type RolesRoles

type RolesRoles struct {
	Admin                   *RolesAdmin              `json:"admin,omitempty"`
	ApplicationRegistration *ApplicationRegistration `json:"application_registration,omitempty"`
	Creator                 *RolesCreator            `json:"creator,omitempty"`
	Deployer                *RolesDeployer           `json:"deployer,omitempty"`
	Maintainer              *Maintainer              `json:"maintainer,omitempty"`
	PluginsAdmin            *PluginsAdmin            `json:"plugins_admin,omitempty"`
	Publisher               *Publisher               `json:"publisher,omitempty"`
	Viewer                  *RolesViewer             `json:"viewer,omitempty"`
}

func (*RolesRoles) GetAdmin

func (o *RolesRoles) GetAdmin() *RolesAdmin

func (*RolesRoles) GetApplicationRegistration

func (o *RolesRoles) GetApplicationRegistration() *ApplicationRegistration

func (*RolesRoles) GetCreator

func (o *RolesRoles) GetCreator() *RolesCreator

func (*RolesRoles) GetDeployer

func (o *RolesRoles) GetDeployer() *RolesDeployer

func (*RolesRoles) GetMaintainer

func (o *RolesRoles) GetMaintainer() *Maintainer

func (*RolesRoles) GetPluginsAdmin

func (o *RolesRoles) GetPluginsAdmin() *PluginsAdmin

func (*RolesRoles) GetPublisher

func (o *RolesRoles) GetPublisher() *Publisher

func (*RolesRoles) GetViewer

func (o *RolesRoles) GetViewer() *RolesViewer

type RolesViewer

type RolesViewer struct {
	Name        RolesAPIProductsRolesViewerName        `json:"name"`
	Description RolesAPIProductsRolesViewerDescription `json:"description"`
}

func (*RolesViewer) GetDescription

func (*RolesViewer) GetName

type Route

type Route struct {
	// Unix epoch when the resource was created.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// A list of IP destinations of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port".
	Destinations []Destinations `json:"destinations,omitempty"`
	// One or more lists of values indexed by header name that will cause this Route to match if present in the request. The `Host` header cannot be used with this attribute: hosts should be specified using the `hosts` attribute. When `headers` contains only one value and that value starts with the special prefix `~*`, the value is interpreted as a regular expression.
	Headers map[string][]string `json:"headers,omitempty"`
	// A list of domain names that match this Route. Note that the hosts value is case sensitive.
	Hosts []string `json:"hosts,omitempty"`
	// The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol.
	HTTPSRedirectStatusCode *HTTPSRedirectStatusCode `json:"https_redirect_status_code,omitempty"`
	ID                      *string                  `json:"id,omitempty"`
	// A list of HTTP methods that match this Route.
	Methods []string `json:"methods,omitempty"`
	// The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test".
	Name *string `json:"name,omitempty"`
	// Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior.
	PathHandling *PathHandling `json:"path_handling,omitempty"`
	// A list of paths that match this Route.
	Paths []string `json:"paths,omitempty"`
	// When matching a Route via one of the `hosts` domain names, use the request `Host` header in the upstream request headers. If set to `false`, the upstream `Host` header will be that of the Service's `host`.
	PreserveHost *bool `json:"preserve_host,omitempty"`
	// An array of the protocols this Route should allow. See the [Route Object](#route-object) section for a list of accepted protocols. When set to only `"https"`, HTTP requests are answered with an upgrade error. When set to only `"http"`, HTTPS requests are answered with an error.
	Protocols []RouteProtocols `json:"protocols,omitempty"`
	// A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same `regex_priority`, the older one (lowest `created_at`) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones).
	RegexPriority *int64 `json:"regex_priority,omitempty"`
	// Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding.
	RequestBuffering *bool `json:"request_buffering,omitempty"`
	// Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding.
	ResponseBuffering *bool `json:"response_buffering,omitempty"`
	// The Service this Route is associated to. This is where the Route proxies traffic to.
	Service *RouteService `json:"service,omitempty"`
	// A list of SNIs that match this Route when using stream routing.
	Snis []string `json:"snis,omitempty"`
	// A list of IP sources of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port".
	Sources []Sources `json:"sources,omitempty"`
	// When matching a Route via one of the `paths`, strip the matching prefix from the upstream request URL.
	StripPath *bool `json:"strip_path,omitempty"`
	// An optional set of strings associated with the Route for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

Route entities define rules to match client requests. Each Route is associated with a Service, and a Service may have multiple Routes associated to it. Every request matching a given Route will be proxied to its associated Service. The combination of Routes and Services (and the separation of concerns between them) offers a powerful routing mechanism with which it is possible to define fine-grained entry-points in Kong leading to different upstream services of your infrastructure. You need at least one matching rule that applies to the protocol being matched by the Route.

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Route) GetCreatedAt

func (o *Route) GetCreatedAt() *int64

func (*Route) GetDestinations

func (o *Route) GetDestinations() []Destinations

func (*Route) GetHTTPSRedirectStatusCode

func (o *Route) GetHTTPSRedirectStatusCode() *HTTPSRedirectStatusCode

func (*Route) GetHeaders

func (o *Route) GetHeaders() map[string][]string

func (*Route) GetHosts

func (o *Route) GetHosts() []string

func (*Route) GetID

func (o *Route) GetID() *string

func (*Route) GetMethods

func (o *Route) GetMethods() []string

func (*Route) GetName

func (o *Route) GetName() *string

func (*Route) GetPathHandling

func (o *Route) GetPathHandling() *PathHandling

func (*Route) GetPaths

func (o *Route) GetPaths() []string

func (*Route) GetPreserveHost

func (o *Route) GetPreserveHost() *bool

func (*Route) GetProtocols

func (o *Route) GetProtocols() []RouteProtocols

func (*Route) GetRegexPriority

func (o *Route) GetRegexPriority() *int64

func (*Route) GetRequestBuffering

func (o *Route) GetRequestBuffering() *bool

func (*Route) GetResponseBuffering

func (o *Route) GetResponseBuffering() *bool

func (*Route) GetService

func (o *Route) GetService() *RouteService

func (*Route) GetSnis

func (o *Route) GetSnis() []string

func (*Route) GetSources

func (o *Route) GetSources() []Sources

func (*Route) GetStripPath

func (o *Route) GetStripPath() *bool

func (*Route) GetTags

func (o *Route) GetTags() []string

func (*Route) GetUpdatedAt

func (o *Route) GetUpdatedAt() *int64

type RouteAdmin

type RouteAdmin struct {
	Name        RolesControlPlanesRolesRouteAdminName        `json:"name"`
	Description RolesControlPlanesRolesRouteAdminDescription `json:"description"`
}

func (*RouteAdmin) GetDescription

func (*RouteAdmin) GetName

type RouteInput

type RouteInput struct {
	// A list of IP destinations of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port".
	Destinations []Destinations `json:"destinations,omitempty"`
	// One or more lists of values indexed by header name that will cause this Route to match if present in the request. The `Host` header cannot be used with this attribute: hosts should be specified using the `hosts` attribute. When `headers` contains only one value and that value starts with the special prefix `~*`, the value is interpreted as a regular expression.
	Headers map[string][]string `json:"headers,omitempty"`
	// A list of domain names that match this Route. Note that the hosts value is case sensitive.
	Hosts []string `json:"hosts,omitempty"`
	// The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol.
	HTTPSRedirectStatusCode *HTTPSRedirectStatusCode `json:"https_redirect_status_code,omitempty"`
	ID                      *string                  `json:"id,omitempty"`
	// A list of HTTP methods that match this Route.
	Methods []string `json:"methods,omitempty"`
	// The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test".
	Name *string `json:"name,omitempty"`
	// Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior.
	PathHandling *PathHandling `json:"path_handling,omitempty"`
	// A list of paths that match this Route.
	Paths []string `json:"paths,omitempty"`
	// When matching a Route via one of the `hosts` domain names, use the request `Host` header in the upstream request headers. If set to `false`, the upstream `Host` header will be that of the Service's `host`.
	PreserveHost *bool `json:"preserve_host,omitempty"`
	// An array of the protocols this Route should allow. See the [Route Object](#route-object) section for a list of accepted protocols. When set to only `"https"`, HTTP requests are answered with an upgrade error. When set to only `"http"`, HTTPS requests are answered with an error.
	Protocols []RouteProtocols `json:"protocols,omitempty"`
	// A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same `regex_priority`, the older one (lowest `created_at`) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones).
	RegexPriority *int64 `json:"regex_priority,omitempty"`
	// Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding.
	RequestBuffering *bool `json:"request_buffering,omitempty"`
	// Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding.
	ResponseBuffering *bool `json:"response_buffering,omitempty"`
	// The Service this Route is associated to. This is where the Route proxies traffic to.
	Service *RouteService `json:"service,omitempty"`
	// A list of SNIs that match this Route when using stream routing.
	Snis []string `json:"snis,omitempty"`
	// A list of IP sources of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port".
	Sources []Sources `json:"sources,omitempty"`
	// When matching a Route via one of the `paths`, strip the matching prefix from the upstream request URL.
	StripPath *bool `json:"strip_path,omitempty"`
	// An optional set of strings associated with the Route for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

RouteInput - Route entities define rules to match client requests. Each Route is associated with a Service, and a Service may have multiple Routes associated to it. Every request matching a given Route will be proxied to its associated Service. The combination of Routes and Services (and the separation of concerns between them) offers a powerful routing mechanism with which it is possible to define fine-grained entry-points in Kong leading to different upstream services of your infrastructure. You need at least one matching rule that applies to the protocol being matched by the Route.

func (*RouteInput) DeepCopy

func (in *RouteInput) DeepCopy() *RouteInput

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteInput.

func (*RouteInput) DeepCopyInto

func (in *RouteInput) DeepCopyInto(out *RouteInput)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RouteInput) GetDestinations

func (o *RouteInput) GetDestinations() []Destinations

func (*RouteInput) GetHTTPSRedirectStatusCode

func (o *RouteInput) GetHTTPSRedirectStatusCode() *HTTPSRedirectStatusCode

func (*RouteInput) GetHeaders

func (o *RouteInput) GetHeaders() map[string][]string

func (*RouteInput) GetHosts

func (o *RouteInput) GetHosts() []string

func (*RouteInput) GetID

func (o *RouteInput) GetID() *string

func (*RouteInput) GetMethods

func (o *RouteInput) GetMethods() []string

func (*RouteInput) GetName

func (o *RouteInput) GetName() *string

func (*RouteInput) GetPathHandling

func (o *RouteInput) GetPathHandling() *PathHandling

func (*RouteInput) GetPaths

func (o *RouteInput) GetPaths() []string

func (*RouteInput) GetPreserveHost

func (o *RouteInput) GetPreserveHost() *bool

func (*RouteInput) GetProtocols

func (o *RouteInput) GetProtocols() []RouteProtocols

func (*RouteInput) GetRegexPriority

func (o *RouteInput) GetRegexPriority() *int64

func (*RouteInput) GetRequestBuffering

func (o *RouteInput) GetRequestBuffering() *bool

func (*RouteInput) GetResponseBuffering

func (o *RouteInput) GetResponseBuffering() *bool

func (*RouteInput) GetService

func (o *RouteInput) GetService() *RouteService

func (*RouteInput) GetSnis

func (o *RouteInput) GetSnis() []string

func (*RouteInput) GetSources

func (o *RouteInput) GetSources() []Sources

func (*RouteInput) GetStripPath

func (o *RouteInput) GetStripPath() *bool

func (*RouteInput) GetTags

func (o *RouteInput) GetTags() []string

type RouteProtocols

type RouteProtocols string
const (
	RouteProtocolsGrpc           RouteProtocols = "grpc"
	RouteProtocolsGrpcs          RouteProtocols = "grpcs"
	RouteProtocolsHTTP           RouteProtocols = "http"
	RouteProtocolsHTTPS          RouteProtocols = "https"
	RouteProtocolsTCP            RouteProtocols = "tcp"
	RouteProtocolsTLS            RouteProtocols = "tls"
	RouteProtocolsTLSPassthrough RouteProtocols = "tls_passthrough"
	RouteProtocolsUDP            RouteProtocols = "udp"
	RouteProtocolsWs             RouteProtocols = "ws"
	RouteProtocolsWss            RouteProtocols = "wss"
)

func (RouteProtocols) ToPointer

func (e RouteProtocols) ToPointer() *RouteProtocols

func (*RouteProtocols) UnmarshalJSON

func (e *RouteProtocols) UnmarshalJSON(data []byte) error

type RouteService

type RouteService struct {
	ID *string `json:"id,omitempty"`
}

RouteService - The Service this Route is associated to. This is where the Route proxies traffic to.

func (*RouteService) DeepCopy

func (in *RouteService) DeepCopy() *RouteService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteService.

func (*RouteService) DeepCopyInto

func (in *RouteService) DeepCopyInto(out *RouteService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RouteService) GetID

func (o *RouteService) GetID() *string

type RouteWithoutParents

type RouteWithoutParents struct {
	// A list of IP destinations of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port".
	Destinations []RouteWithoutParentsDestinations `json:"destinations,omitempty"`
	// One or more lists of values indexed by header name that will cause this Route to match if present in the request. The `Host` header cannot be used with this attribute: hosts should be specified using the `hosts` attribute. When `headers` contains only one value and that value starts with the special prefix `~*`, the value is interpreted as a regular expression.
	Headers map[string][]string `json:"headers,omitempty"`
	// A list of domain names that match this Route. Note that the hosts value is case sensitive.
	Hosts []string `json:"hosts,omitempty"`
	// The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol.
	HTTPSRedirectStatusCode *RouteWithoutParentsHTTPSRedirectStatusCode `json:"https_redirect_status_code,omitempty"`
	ID                      *string                                     `json:"id,omitempty"`
	// A list of HTTP methods that match this Route.
	Methods []string `json:"methods,omitempty"`
	// The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test".
	Name *string `json:"name,omitempty"`
	// Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior.
	PathHandling *RouteWithoutParentsPathHandling `json:"path_handling,omitempty"`
	// A list of paths that match this Route.
	Paths []string `json:"paths,omitempty"`
	// When matching a Route via one of the `hosts` domain names, use the request `Host` header in the upstream request headers. If set to `false`, the upstream `Host` header will be that of the Service's `host`.
	PreserveHost *bool `json:"preserve_host,omitempty"`
	// An array of the protocols this Route should allow. See the [Route Object](#route-object) section for a list of accepted protocols. When set to only `"https"`, HTTP requests are answered with an upgrade error. When set to only `"http"`, HTTPS requests are answered with an error.
	Protocols []RouteWithoutParentsProtocols `json:"protocols,omitempty"`
	// A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same `regex_priority`, the older one (lowest `created_at`) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones).
	RegexPriority *int64 `json:"regex_priority,omitempty"`
	// Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding.
	RequestBuffering *bool `json:"request_buffering,omitempty"`
	// Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding.
	ResponseBuffering *bool `json:"response_buffering,omitempty"`
	// The Service this Route is associated to. This is where the Route proxies traffic to.
	Service *RouteWithoutParentsService `json:"service,omitempty"`
	// A list of SNIs that match this Route when using stream routing.
	Snis []string `json:"snis,omitempty"`
	// A list of IP sources of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port".
	Sources []RouteWithoutParentsSources `json:"sources,omitempty"`
	// When matching a Route via one of the `paths`, strip the matching prefix from the upstream request URL.
	StripPath *bool `json:"strip_path,omitempty"`
	// An optional set of strings associated with the Route for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

RouteWithoutParents - Route entities define rules to match client requests. Each Route is associated with a Service, and a Service may have multiple Routes associated to it. Every request matching a given Route will be proxied to its associated Service. The combination of Routes and Services (and the separation of concerns between them) offers a powerful routing mechanism with which it is possible to define fine-grained entry-points in Kong leading to different upstream services of your infrastructure. You need at least one matching rule that applies to the protocol being matched by the Route.

func (*RouteWithoutParents) DeepCopy

func (in *RouteWithoutParents) DeepCopy() *RouteWithoutParents

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteWithoutParents.

func (*RouteWithoutParents) DeepCopyInto

func (in *RouteWithoutParents) DeepCopyInto(out *RouteWithoutParents)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RouteWithoutParents) GetDestinations

func (*RouteWithoutParents) GetHTTPSRedirectStatusCode

func (o *RouteWithoutParents) GetHTTPSRedirectStatusCode() *RouteWithoutParentsHTTPSRedirectStatusCode

func (*RouteWithoutParents) GetHeaders

func (o *RouteWithoutParents) GetHeaders() map[string][]string

func (*RouteWithoutParents) GetHosts

func (o *RouteWithoutParents) GetHosts() []string

func (*RouteWithoutParents) GetID

func (o *RouteWithoutParents) GetID() *string

func (*RouteWithoutParents) GetMethods

func (o *RouteWithoutParents) GetMethods() []string

func (*RouteWithoutParents) GetName

func (o *RouteWithoutParents) GetName() *string

func (*RouteWithoutParents) GetPathHandling

func (*RouteWithoutParents) GetPaths

func (o *RouteWithoutParents) GetPaths() []string

func (*RouteWithoutParents) GetPreserveHost

func (o *RouteWithoutParents) GetPreserveHost() *bool

func (*RouteWithoutParents) GetProtocols

func (*RouteWithoutParents) GetRegexPriority

func (o *RouteWithoutParents) GetRegexPriority() *int64

func (*RouteWithoutParents) GetRequestBuffering

func (o *RouteWithoutParents) GetRequestBuffering() *bool

func (*RouteWithoutParents) GetResponseBuffering

func (o *RouteWithoutParents) GetResponseBuffering() *bool

func (*RouteWithoutParents) GetService

func (*RouteWithoutParents) GetSnis

func (o *RouteWithoutParents) GetSnis() []string

func (*RouteWithoutParents) GetSources

func (*RouteWithoutParents) GetStripPath

func (o *RouteWithoutParents) GetStripPath() *bool

func (*RouteWithoutParents) GetTags

func (o *RouteWithoutParents) GetTags() []string

type RouteWithoutParentsDestinations

type RouteWithoutParentsDestinations struct {
	IP   *string `json:"ip,omitempty"`
	Port *int64  `json:"port,omitempty"`
}

func (*RouteWithoutParentsDestinations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteWithoutParentsDestinations.

func (*RouteWithoutParentsDestinations) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RouteWithoutParentsDestinations) GetIP

func (*RouteWithoutParentsDestinations) GetPort

func (o *RouteWithoutParentsDestinations) GetPort() *int64

type RouteWithoutParentsHTTPSRedirectStatusCode

type RouteWithoutParentsHTTPSRedirectStatusCode int64

RouteWithoutParentsHTTPSRedirectStatusCode - The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol.

const (
	RouteWithoutParentsHTTPSRedirectStatusCodeFourHundredAndTwentySix RouteWithoutParentsHTTPSRedirectStatusCode = 426
	RouteWithoutParentsHTTPSRedirectStatusCodeThreeHundredAndOne      RouteWithoutParentsHTTPSRedirectStatusCode = 301
	RouteWithoutParentsHTTPSRedirectStatusCodeThreeHundredAndTwo      RouteWithoutParentsHTTPSRedirectStatusCode = 302
	RouteWithoutParentsHTTPSRedirectStatusCodeThreeHundredAndSeven    RouteWithoutParentsHTTPSRedirectStatusCode = 307
	RouteWithoutParentsHTTPSRedirectStatusCodeThreeHundredAndEight    RouteWithoutParentsHTTPSRedirectStatusCode = 308
)

func (RouteWithoutParentsHTTPSRedirectStatusCode) ToPointer

func (*RouteWithoutParentsHTTPSRedirectStatusCode) UnmarshalJSON

func (e *RouteWithoutParentsHTTPSRedirectStatusCode) UnmarshalJSON(data []byte) error

type RouteWithoutParentsPathHandling

type RouteWithoutParentsPathHandling string

RouteWithoutParentsPathHandling - Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior.

const (
	RouteWithoutParentsPathHandlingV0 RouteWithoutParentsPathHandling = "v0"
	RouteWithoutParentsPathHandlingV1 RouteWithoutParentsPathHandling = "v1"
)

func (RouteWithoutParentsPathHandling) ToPointer

func (*RouteWithoutParentsPathHandling) UnmarshalJSON

func (e *RouteWithoutParentsPathHandling) UnmarshalJSON(data []byte) error

type RouteWithoutParentsProtocols

type RouteWithoutParentsProtocols string
const (
	RouteWithoutParentsProtocolsGrpc           RouteWithoutParentsProtocols = "grpc"
	RouteWithoutParentsProtocolsGrpcs          RouteWithoutParentsProtocols = "grpcs"
	RouteWithoutParentsProtocolsHTTP           RouteWithoutParentsProtocols = "http"
	RouteWithoutParentsProtocolsHTTPS          RouteWithoutParentsProtocols = "https"
	RouteWithoutParentsProtocolsTCP            RouteWithoutParentsProtocols = "tcp"
	RouteWithoutParentsProtocolsTLS            RouteWithoutParentsProtocols = "tls"
	RouteWithoutParentsProtocolsTLSPassthrough RouteWithoutParentsProtocols = "tls_passthrough"
	RouteWithoutParentsProtocolsUDP            RouteWithoutParentsProtocols = "udp"
	RouteWithoutParentsProtocolsWs             RouteWithoutParentsProtocols = "ws"
	RouteWithoutParentsProtocolsWss            RouteWithoutParentsProtocols = "wss"
)

func (RouteWithoutParentsProtocols) ToPointer

func (*RouteWithoutParentsProtocols) UnmarshalJSON

func (e *RouteWithoutParentsProtocols) UnmarshalJSON(data []byte) error

type RouteWithoutParentsService

type RouteWithoutParentsService struct {
	ID *string `json:"id,omitempty"`
}

RouteWithoutParentsService - The Service this Route is associated to. This is where the Route proxies traffic to.

func (*RouteWithoutParentsService) DeepCopy added in v0.1.27

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteWithoutParentsService.

func (*RouteWithoutParentsService) DeepCopyInto added in v0.1.27

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RouteWithoutParentsService) GetID

func (o *RouteWithoutParentsService) GetID() *string

type RouteWithoutParentsSources

type RouteWithoutParentsSources struct {
	IP   *string `json:"ip,omitempty"`
	Port *int64  `json:"port,omitempty"`
}

func (*RouteWithoutParentsSources) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteWithoutParentsSources.

func (*RouteWithoutParentsSources) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RouteWithoutParentsSources) GetIP

func (o *RouteWithoutParentsSources) GetIP() *string

func (*RouteWithoutParentsSources) GetPort

func (o *RouteWithoutParentsSources) GetPort() *int64

type Rule

type Rule string

Rule - invalid parameters rules

const (
	RuleMinLength    Rule = "min_length"
	RuleMinDigits    Rule = "min_digits"
	RuleMinLowercase Rule = "min_lowercase"
	RuleMinUppercase Rule = "min_uppercase"
	RuleMinSymbols   Rule = "min_symbols"
	RuleMinItems     Rule = "min_items"
	RuleMin          Rule = "min"
)

func (Rule) ToPointer

func (e Rule) ToPointer() *Rule

func (*Rule) UnmarshalJSON

func (e *Rule) UnmarshalJSON(data []byte) error

type SAMLIdentityProviderConfig added in v0.1.29

type SAMLIdentityProviderConfig struct {
	// The identity provider's metadata URL where the identity provider's metadata can be obtained.
	IdpMetadataURL *string `json:"idp_metadata_url,omitempty"`
	// The identity provider's SAML metadata. If the identity provider supports a metadata URL, you can use the `idp_metadata_url` field instead.
	//
	IdpMetadataXML *string `json:"idp_metadata_xml,omitempty"`
	SpMetadataURL  *string `json:"sp_metadata_url,omitempty"`
	// The entity ID of the service provider (SP).
	SpEntityID *string `json:"sp_entity_id,omitempty"`
	// The URL to redirect users to for initiating login with the identity provider.
	LoginURL *string `json:"login_url,omitempty"`
	// The URL where the SAML identity provider sends authentication responses after successful login attempts.
	CallbackURL *string `json:"callback_url,omitempty"`
}

SAMLIdentityProviderConfig - The identity provider that contains configuration data for the SAML authentication integration.

func (*SAMLIdentityProviderConfig) GetCallbackURL added in v0.1.29

func (o *SAMLIdentityProviderConfig) GetCallbackURL() *string

func (*SAMLIdentityProviderConfig) GetIdpMetadataURL added in v0.1.29

func (o *SAMLIdentityProviderConfig) GetIdpMetadataURL() *string

func (*SAMLIdentityProviderConfig) GetIdpMetadataXML added in v0.1.29

func (o *SAMLIdentityProviderConfig) GetIdpMetadataXML() *string

func (*SAMLIdentityProviderConfig) GetLoginURL added in v0.1.29

func (o *SAMLIdentityProviderConfig) GetLoginURL() *string

func (*SAMLIdentityProviderConfig) GetSpEntityID added in v0.1.29

func (o *SAMLIdentityProviderConfig) GetSpEntityID() *string

func (*SAMLIdentityProviderConfig) GetSpMetadataURL added in v0.1.29

func (o *SAMLIdentityProviderConfig) GetSpMetadataURL() *string

type SAMLIdentityProviderConfigInput added in v0.1.29

type SAMLIdentityProviderConfigInput struct {
	// The identity provider's metadata URL where the identity provider's metadata can be obtained.
	IdpMetadataURL *string `json:"idp_metadata_url,omitempty"`
	// The identity provider's SAML metadata. If the identity provider supports a metadata URL, you can use the `idp_metadata_url` field instead.
	//
	IdpMetadataXML *string `json:"idp_metadata_xml,omitempty"`
}

SAMLIdentityProviderConfigInput - The identity provider that contains configuration data for the SAML authentication integration.

func (*SAMLIdentityProviderConfigInput) GetIdpMetadataURL added in v0.1.29

func (o *SAMLIdentityProviderConfigInput) GetIdpMetadataURL() *string

func (*SAMLIdentityProviderConfigInput) GetIdpMetadataXML added in v0.1.29

func (o *SAMLIdentityProviderConfigInput) GetIdpMetadataXML() *string

type SNICertificate

type SNICertificate struct {
	ID *string `json:"id,omitempty"`
}

SNICertificate - The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object.

func (*SNICertificate) GetID

func (o *SNICertificate) GetID() *string

type SNIInput

type SNIInput struct {
	// The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object.
	Certificate *SNICertificate `json:"certificate"`
	ID          *string         `json:"id,omitempty"`
	// The SNI name to associate with the given certificate.
	Name string `json:"name"`
	// An optional set of strings associated with the SNIs for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

SNIInput - An SNI object represents a many-to-one mapping of hostnames to a certificate. That is, a certificate object can have many hostnames associated with it; when Kong receives an SSL request, it uses the SNI field in the Client Hello to lookup the certificate object based on the SNI associated with the certificate.

func (*SNIInput) GetCertificate

func (o *SNIInput) GetCertificate() *SNICertificate

func (*SNIInput) GetID

func (o *SNIInput) GetID() *string

func (*SNIInput) GetName

func (o *SNIInput) GetName() string

func (*SNIInput) GetTags

func (o *SNIInput) GetTags() []string

type SNIWithoutParents

type SNIWithoutParents struct {
	// The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object.
	Certificate *SNIWithoutParentsCertificate `json:"certificate,omitempty"`
	ID          *string                       `json:"id,omitempty"`
	// The SNI name to associate with the given certificate.
	Name string `json:"name"`
	// An optional set of strings associated with the SNIs for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

SNIWithoutParents - An SNI object represents a many-to-one mapping of hostnames to a certificate. That is, a certificate object can have many hostnames associated with it; when Kong receives an SSL request, it uses the SNI field in the Client Hello to lookup the certificate object based on the SNI associated with the certificate.

func (*SNIWithoutParents) GetCertificate

func (o *SNIWithoutParents) GetCertificate() *SNIWithoutParentsCertificate

func (*SNIWithoutParents) GetID

func (o *SNIWithoutParents) GetID() *string

func (*SNIWithoutParents) GetName

func (o *SNIWithoutParents) GetName() string

func (*SNIWithoutParents) GetTags

func (o *SNIWithoutParents) GetTags() []string

type SNIWithoutParentsCertificate

type SNIWithoutParentsCertificate struct {
	ID *string `json:"id,omitempty"`
}

SNIWithoutParentsCertificate - The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object.

func (*SNIWithoutParentsCertificate) GetID

type Security

type Security struct {
	PersonalAccessToken      *string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
	SystemAccountAccessToken *string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
	KonnectAccessToken       *string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
}

func (*Security) GetKonnectAccessToken

func (o *Security) GetKonnectAccessToken() *string

func (*Security) GetPersonalAccessToken

func (o *Security) GetPersonalAccessToken() *string

func (*Security) GetSystemAccountAccessToken

func (o *Security) GetSystemAccountAccessToken() *string

type Service

type Service struct {
	// Array of `CA Certificate` object UUIDs that are used to build the trust store while verifying upstream server's TLS certificate. If set to `null` when Nginx default is respected. If default CA list in Nginx are not specified and TLS verification is enabled, then handshake with upstream server will always fail (because no CA are trusted).
	CaCertificates []string `json:"ca_certificates,omitempty"`
	// Certificate to be used as client certificate while TLS handshaking to the upstream server.
	ClientCertificate *ClientCertificate `json:"client_certificate,omitempty"`
	// The timeout in milliseconds for establishing a connection to the upstream server.
	ConnectTimeout *int64 `json:"connect_timeout,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Whether the Service is active. If set to `false`, the proxy behavior will be as if any routes attached to it do not exist (404). Default: `true`.
	Enabled *bool `json:"enabled,omitempty"`
	// The host of the upstream server. Note that the host value is case sensitive.
	Host string  `json:"host"`
	ID   *string `json:"id,omitempty"`
	// The Service name.
	Name *string `json:"name,omitempty"`
	// The path to be used in requests to the upstream server.
	Path *string `json:"path,omitempty"`
	// The upstream server port.
	Port int64 `json:"port"`
	// The protocol used to communicate with the upstream.
	Protocol Protocol `json:"protocol"`
	// The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server.
	ReadTimeout *int64 `json:"read_timeout,omitempty"`
	// The number of retries to execute upon failure to proxy.
	Retries *int64 `json:"retries,omitempty"`
	// An optional set of strings associated with the Service for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Whether to enable verification of upstream server TLS certificate. If set to `null`, then the Nginx default is respected.
	TLSVerify *bool `json:"tls_verify,omitempty"`
	// Maximum depth of chain while verifying Upstream server's TLS certificate. If set to `null`, then the Nginx default is respected.
	TLSVerifyDepth *int64 `json:"tls_verify_depth,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
	// The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server.
	WriteTimeout *int64 `json:"write_timeout,omitempty"`
}

Service entities, as the name implies, are abstractions of each of your own upstream services. Examples of Services would be a data transformation microservice, a billing API, etc. The main attribute of a Service is its URL (where Kong should proxy traffic to), which can be set as a single string or by specifying its `protocol`, `host`, `port` and `path` individually. Services are associated to Routes (a Service can have many Routes associated with it). Routes are entry-points in Kong and define rules to match client requests. Once a Route is matched, Kong proxies the request to its associated Service. See the [Proxy Reference][proxy-reference] for a detailed explanation of how Kong proxies traffic.

func (*Service) GetCaCertificates

func (o *Service) GetCaCertificates() []string

func (*Service) GetClientCertificate

func (o *Service) GetClientCertificate() *ClientCertificate

func (*Service) GetConnectTimeout

func (o *Service) GetConnectTimeout() *int64

func (*Service) GetCreatedAt

func (o *Service) GetCreatedAt() *int64

func (*Service) GetEnabled

func (o *Service) GetEnabled() *bool

func (*Service) GetHost

func (o *Service) GetHost() string

func (*Service) GetID

func (o *Service) GetID() *string

func (*Service) GetName

func (o *Service) GetName() *string

func (*Service) GetPath

func (o *Service) GetPath() *string

func (*Service) GetPort

func (o *Service) GetPort() int64

func (*Service) GetProtocol

func (o *Service) GetProtocol() Protocol

func (*Service) GetReadTimeout

func (o *Service) GetReadTimeout() *int64

func (*Service) GetRetries

func (o *Service) GetRetries() *int64

func (*Service) GetTLSVerify

func (o *Service) GetTLSVerify() *bool

func (*Service) GetTLSVerifyDepth

func (o *Service) GetTLSVerifyDepth() *int64

func (*Service) GetTags

func (o *Service) GetTags() []string

func (*Service) GetUpdatedAt

func (o *Service) GetUpdatedAt() *int64

func (*Service) GetWriteTimeout

func (o *Service) GetWriteTimeout() *int64

type ServiceInput

type ServiceInput struct {
	// Array of `CA Certificate` object UUIDs that are used to build the trust store while verifying upstream server's TLS certificate. If set to `null` when Nginx default is respected. If default CA list in Nginx are not specified and TLS verification is enabled, then handshake with upstream server will always fail (because no CA are trusted).
	CaCertificates []string `json:"ca_certificates,omitempty"`
	// Certificate to be used as client certificate while TLS handshaking to the upstream server.
	ClientCertificate *ClientCertificate `json:"client_certificate,omitempty"`
	// The timeout in milliseconds for establishing a connection to the upstream server.
	ConnectTimeout *int64 `json:"connect_timeout,omitempty"`
	// Whether the Service is active. If set to `false`, the proxy behavior will be as if any routes attached to it do not exist (404). Default: `true`.
	Enabled *bool `json:"enabled,omitempty"`
	// The host of the upstream server. Note that the host value is case sensitive.
	Host string  `json:"host"`
	ID   *string `json:"id,omitempty"`
	// The Service name.
	Name *string `json:"name,omitempty"`
	// The path to be used in requests to the upstream server.
	Path *string `json:"path,omitempty"`
	// The upstream server port.
	Port int64 `json:"port"`
	// The protocol used to communicate with the upstream.
	Protocol Protocol `json:"protocol"`
	// The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server.
	ReadTimeout *int64 `json:"read_timeout,omitempty"`
	// The number of retries to execute upon failure to proxy.
	Retries *int64 `json:"retries,omitempty"`
	// An optional set of strings associated with the Service for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Whether to enable verification of upstream server TLS certificate. If set to `null`, then the Nginx default is respected.
	TLSVerify *bool `json:"tls_verify,omitempty"`
	// Maximum depth of chain while verifying Upstream server's TLS certificate. If set to `null`, then the Nginx default is respected.
	TLSVerifyDepth *int64 `json:"tls_verify_depth,omitempty"`
	// Helper field to set `protocol`, `host`, `port` and `path` using a URL. This field is write-only and is not returned in responses.
	URL *string `json:"url,omitempty"`
	// The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server.
	WriteTimeout *int64 `json:"write_timeout,omitempty"`
}

ServiceInput - Service entities, as the name implies, are abstractions of each of your own upstream services. Examples of Services would be a data transformation microservice, a billing API, etc. The main attribute of a Service is its URL (where Kong should proxy traffic to), which can be set as a single string or by specifying its `protocol`, `host`, `port` and `path` individually. Services are associated to Routes (a Service can have many Routes associated with it). Routes are entry-points in Kong and define rules to match client requests. Once a Route is matched, Kong proxies the request to its associated Service. See the [Proxy Reference][proxy-reference] for a detailed explanation of how Kong proxies traffic.

func (*ServiceInput) GetCaCertificates

func (o *ServiceInput) GetCaCertificates() []string

func (*ServiceInput) GetClientCertificate

func (o *ServiceInput) GetClientCertificate() *ClientCertificate

func (*ServiceInput) GetConnectTimeout

func (o *ServiceInput) GetConnectTimeout() *int64

func (*ServiceInput) GetEnabled

func (o *ServiceInput) GetEnabled() *bool

func (*ServiceInput) GetHost

func (o *ServiceInput) GetHost() string

func (*ServiceInput) GetID

func (o *ServiceInput) GetID() *string

func (*ServiceInput) GetName

func (o *ServiceInput) GetName() *string

func (*ServiceInput) GetPath

func (o *ServiceInput) GetPath() *string

func (*ServiceInput) GetPort

func (o *ServiceInput) GetPort() int64

func (*ServiceInput) GetProtocol

func (o *ServiceInput) GetProtocol() Protocol

func (*ServiceInput) GetReadTimeout

func (o *ServiceInput) GetReadTimeout() *int64

func (*ServiceInput) GetRetries

func (o *ServiceInput) GetRetries() *int64

func (*ServiceInput) GetTLSVerify

func (o *ServiceInput) GetTLSVerify() *bool

func (*ServiceInput) GetTLSVerifyDepth

func (o *ServiceInput) GetTLSVerifyDepth() *int64

func (*ServiceInput) GetTags

func (o *ServiceInput) GetTags() []string

func (*ServiceInput) GetURL

func (o *ServiceInput) GetURL() *string

func (*ServiceInput) GetWriteTimeout

func (o *ServiceInput) GetWriteTimeout() *int64

type Set

type Set struct {
	ID *string `json:"id,omitempty"`
}

Set - The id (an UUID) of the key-set with which to associate the key.

func (*Set) GetID

func (o *Set) GetID() *string

type Sni

type Sni struct {
	// The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object.
	Certificate *SNICertificate `json:"certificate"`
	// Unix epoch when the resource was created.
	CreatedAt *int64  `json:"created_at,omitempty"`
	ID        *string `json:"id,omitempty"`
	// The SNI name to associate with the given certificate.
	Name string `json:"name"`
	// An optional set of strings associated with the SNIs for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

Sni - An SNI object represents a many-to-one mapping of hostnames to a certificate. That is, a certificate object can have many hostnames associated with it; when Kong receives an SSL request, it uses the SNI field in the Client Hello to lookup the certificate object based on the SNI associated with the certificate.

func (*Sni) GetCertificate

func (o *Sni) GetCertificate() *SNICertificate

func (*Sni) GetCreatedAt

func (o *Sni) GetCreatedAt() *int64

func (*Sni) GetID

func (o *Sni) GetID() *string

func (*Sni) GetName

func (o *Sni) GetName() string

func (*Sni) GetTags

func (o *Sni) GetTags() []string

func (*Sni) GetUpdatedAt

func (o *Sni) GetUpdatedAt() *int64

type SniAdmin

type SniAdmin struct {
	Name        RolesControlPlanesRolesSniAdminName        `json:"name"`
	Description RolesControlPlanesRolesSniAdminDescription `json:"description"`
}

func (*SniAdmin) GetDescription

func (*SniAdmin) GetName

type Sources

type Sources struct {
	IP   *string `json:"ip,omitempty"`
	Port *int64  `json:"port,omitempty"`
}

func (*Sources) DeepCopy

func (in *Sources) DeepCopy() *Sources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sources.

func (*Sources) DeepCopyInto

func (in *Sources) DeepCopyInto(out *Sources)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sources) GetIP

func (o *Sources) GetIP() *string

func (*Sources) GetPort

func (o *Sources) GetPort() *int64

type State

type State string

State of the data-plane group.

const (
	StateCreated      State = "created"
	StateInitializing State = "initializing"
	StateReady        State = "ready"
	StateTerminating  State = "terminating"
	StateTerminated   State = "terminated"
)

func (State) ToPointer

func (e State) ToPointer() *State

func (*State) UnmarshalJSON

func (e *State) UnmarshalJSON(data []byte) error

type StringFieldContainsFilter

type StringFieldContainsFilter struct {
	Contains string `queryParam:"name=contains"`
}

StringFieldContainsFilter - Filter a string value field by partial contains.

func (*StringFieldContainsFilter) GetContains

func (o *StringFieldContainsFilter) GetContains() string

type StringFieldEqualsComparison added in v0.2.0

type StringFieldEqualsComparison struct {
	Eq string `queryParam:"name=eq"`
}

func (*StringFieldEqualsComparison) GetEq added in v0.2.0

type StringFieldEqualsFilter

type StringFieldEqualsFilter struct {
	Str *string `queryParam:"inline"`
	Two *Two    `queryParam:"inline"`

	Type StringFieldEqualsFilterType
}

StringFieldEqualsFilter - Filter a string value by exact match.

func CreateStringFieldEqualsFilterStr

func CreateStringFieldEqualsFilterStr(str string) StringFieldEqualsFilter

func CreateStringFieldEqualsFilterTwo

func CreateStringFieldEqualsFilterTwo(two Two) StringFieldEqualsFilter

func (StringFieldEqualsFilter) MarshalJSON

func (u StringFieldEqualsFilter) MarshalJSON() ([]byte, error)

func (*StringFieldEqualsFilter) UnmarshalJSON

func (u *StringFieldEqualsFilter) UnmarshalJSON(data []byte) error

type StringFieldEqualsFilterType

type StringFieldEqualsFilterType string
const (
	StringFieldEqualsFilterTypeStr StringFieldEqualsFilterType = "str"
	StringFieldEqualsFilterTypeTwo StringFieldEqualsFilterType = "2"
)

type StringFieldFilter

type StringFieldFilter struct {
	StringFieldEqualsFilter   *StringFieldEqualsFilter   `queryParam:"inline"`
	StringFieldContainsFilter *StringFieldContainsFilter `queryParam:"inline"`

	Type StringFieldFilterType
}

StringFieldFilter - Filter a string value field either by exact match or partial contains.

func CreateStringFieldFilterStringFieldContainsFilter

func CreateStringFieldFilterStringFieldContainsFilter(stringFieldContainsFilter StringFieldContainsFilter) StringFieldFilter

func CreateStringFieldFilterStringFieldEqualsFilter

func CreateStringFieldFilterStringFieldEqualsFilter(stringFieldEqualsFilter StringFieldEqualsFilter) StringFieldFilter

func (StringFieldFilter) MarshalJSON

func (u StringFieldFilter) MarshalJSON() ([]byte, error)

func (*StringFieldFilter) UnmarshalJSON

func (u *StringFieldFilter) UnmarshalJSON(data []byte) error

type StringFieldFilterType

type StringFieldFilterType string
const (
	StringFieldFilterTypeStringFieldEqualsFilter   StringFieldFilterType = "StringFieldEqualsFilter"
	StringFieldFilterTypeStringFieldContainsFilter StringFieldFilterType = "StringFieldContainsFilter"
)

type StringFieldNEQFilter

type StringFieldNEQFilter struct {
	Neq string  `queryParam:"name=neq"`
	Oeq *string `queryParam:"name=oeq"`
}

StringFieldNEQFilter - Filters on the given string field value by exact match inequality.

func (*StringFieldNEQFilter) GetNeq

func (o *StringFieldNEQFilter) GetNeq() string

func (*StringFieldNEQFilter) GetOeq added in v0.2.0

func (o *StringFieldNEQFilter) GetOeq() *string

type StringFieldOContainsFilter added in v0.2.0

type StringFieldOContainsFilter struct {
	Ocontains string `queryParam:"name=ocontains"`
}

StringFieldOContainsFilter - Filters on the union of given string values by fuzzy match.

func (*StringFieldOContainsFilter) GetOcontains added in v0.2.0

func (o *StringFieldOContainsFilter) GetOcontains() string

type StringFieldOEQFilter

type StringFieldOEQFilter struct {
	Oeq string `queryParam:"name=oeq"`
}

StringFieldOEQFilter - Filters on the given comma separated string by one or more exact match.

func (*StringFieldOEQFilter) GetOeq

func (o *StringFieldOEQFilter) GetOeq() string

type SystemAccount

type SystemAccount struct {
	// ID of the system account.
	ID *string `json:"id,omitempty"`
	// Name of the system account.
	Name *string `json:"name,omitempty"`
	// Description of the system account.
	Description *string `json:"description,omitempty"`
	// Timestamp of when the system account was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Timestamp of when the system account was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The system account is managed by Konnect (true/false).
	KonnectManaged *bool `json:"konnect_managed,omitempty"`
}

SystemAccount - Schema of the system account.

func (*SystemAccount) GetCreatedAt

func (o *SystemAccount) GetCreatedAt() *time.Time

func (*SystemAccount) GetDescription

func (o *SystemAccount) GetDescription() *string

func (*SystemAccount) GetID

func (o *SystemAccount) GetID() *string

func (*SystemAccount) GetKonnectManaged

func (o *SystemAccount) GetKonnectManaged() *bool

func (*SystemAccount) GetName

func (o *SystemAccount) GetName() *string

func (*SystemAccount) GetUpdatedAt

func (o *SystemAccount) GetUpdatedAt() *time.Time

func (SystemAccount) MarshalJSON

func (s SystemAccount) MarshalJSON() ([]byte, error)

func (*SystemAccount) UnmarshalJSON

func (s *SystemAccount) UnmarshalJSON(data []byte) error

type SystemAccountAccessToken

type SystemAccountAccessToken struct {
	// ID of the system account access token.
	ID *string `json:"id,omitempty"`
	// Name of the system account access token.
	Name *string `json:"name,omitempty"`
	// Timestamp of when the system account access token was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Timestamp of when the system account access token was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Timestamp of when the system account access token will expire.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// Timestamp of when the system account access token was last used.
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`
}

SystemAccountAccessToken - Schema of the system account access token.

func (*SystemAccountAccessToken) GetCreatedAt

func (o *SystemAccountAccessToken) GetCreatedAt() *time.Time

func (*SystemAccountAccessToken) GetExpiresAt

func (o *SystemAccountAccessToken) GetExpiresAt() *time.Time

func (*SystemAccountAccessToken) GetID

func (o *SystemAccountAccessToken) GetID() *string

func (*SystemAccountAccessToken) GetLastUsedAt

func (o *SystemAccountAccessToken) GetLastUsedAt() *time.Time

func (*SystemAccountAccessToken) GetName

func (o *SystemAccountAccessToken) GetName() *string

func (*SystemAccountAccessToken) GetUpdatedAt

func (o *SystemAccountAccessToken) GetUpdatedAt() *time.Time

func (SystemAccountAccessToken) MarshalJSON

func (s SystemAccountAccessToken) MarshalJSON() ([]byte, error)

func (*SystemAccountAccessToken) UnmarshalJSON

func (s *SystemAccountAccessToken) UnmarshalJSON(data []byte) error

type SystemAccountAccessTokenCollection

type SystemAccountAccessTokenCollection struct {
	// returns the pagination information
	Meta *PaginatedMeta             `json:"meta,omitempty"`
	Data []SystemAccountAccessToken `json:"data,omitempty"`
}

SystemAccountAccessTokenCollection - A paginated list response for a collection of system accounts access tokens.

func (*SystemAccountAccessTokenCollection) GetData

func (*SystemAccountAccessTokenCollection) GetMeta

type SystemAccountAccessTokenCreated

type SystemAccountAccessTokenCreated struct {
	// ID of the system account access token.
	ID *string `json:"id,omitempty"`
	// Name of the system account access token.
	Name *string `json:"name,omitempty"`
	// Timestamp of when the system account access token was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Timestamp of when the system account access token was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Timestamp of when the system account access token will expire.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// Timestamp of when the system account access token was last used.
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`
	// The token of the system account access token.
	Token *string `json:"token,omitempty"`
}

SystemAccountAccessTokenCreated - A response including a single system account access token with the token.

func (*SystemAccountAccessTokenCreated) GetCreatedAt

func (o *SystemAccountAccessTokenCreated) GetCreatedAt() *time.Time

func (*SystemAccountAccessTokenCreated) GetExpiresAt

func (o *SystemAccountAccessTokenCreated) GetExpiresAt() *time.Time

func (*SystemAccountAccessTokenCreated) GetID

func (*SystemAccountAccessTokenCreated) GetLastUsedAt

func (o *SystemAccountAccessTokenCreated) GetLastUsedAt() *time.Time

func (*SystemAccountAccessTokenCreated) GetName

func (*SystemAccountAccessTokenCreated) GetToken

func (o *SystemAccountAccessTokenCreated) GetToken() *string

func (*SystemAccountAccessTokenCreated) GetUpdatedAt

func (o *SystemAccountAccessTokenCreated) GetUpdatedAt() *time.Time

func (SystemAccountAccessTokenCreated) MarshalJSON

func (s SystemAccountAccessTokenCreated) MarshalJSON() ([]byte, error)

func (*SystemAccountAccessTokenCreated) UnmarshalJSON

func (s *SystemAccountAccessTokenCreated) UnmarshalJSON(data []byte) error

type SystemAccountCollection

type SystemAccountCollection struct {
	// returns the pagination information
	Meta *PaginatedMeta  `json:"meta,omitempty"`
	Data []SystemAccount `json:"data,omitempty"`
}

SystemAccountCollection - A paginated list response for a collection of system accounts.

func (*SystemAccountCollection) GetData

func (o *SystemAccountCollection) GetData() []SystemAccount

func (*SystemAccountCollection) GetMeta

func (o *SystemAccountCollection) GetMeta() *PaginatedMeta

type Target

type Target struct {
	// Unix epoch when the resource was created.
	CreatedAt *float64 `json:"created_at,omitempty"`
	ID        *string  `json:"id,omitempty"`
	// An optional set of strings associated with the Target for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the `port` value will be overridden by the value from the DNS record.
	Target *string `json:"target,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *float64        `json:"updated_at,omitempty"`
	Upstream  *TargetUpstream `json:"upstream,omitempty"`
	// The weight this target gets within the upstream loadbalancer (`0`-`65535`). If the hostname resolves to an SRV record, the `weight` value will be overridden by the value from the DNS record.
	Weight *int64 `json:"weight,omitempty"`
}

Target - A target is an ip address/hostname with a port that identifies an instance of a backend service. Every upstream can have many targets, and the targets can be dynamically added, modified, or deleted. Changes take effect on the fly. To disable a target, post a new one with `weight=0`; alternatively, use the `DELETE` convenience method to accomplish the same. The current target object definition is the one with the latest `created_at`.

func (*Target) GetCreatedAt

func (o *Target) GetCreatedAt() *float64

func (*Target) GetID

func (o *Target) GetID() *string

func (*Target) GetTags

func (o *Target) GetTags() []string

func (*Target) GetTarget

func (o *Target) GetTarget() *string

func (*Target) GetUpdatedAt

func (o *Target) GetUpdatedAt() *float64

func (*Target) GetUpstream

func (o *Target) GetUpstream() *TargetUpstream

func (*Target) GetWeight

func (o *Target) GetWeight() *int64

type TargetUpstream

type TargetUpstream struct {
	ID *string `json:"id,omitempty"`
}

func (*TargetUpstream) GetID

func (o *TargetUpstream) GetID() *string

type TargetWithoutParents

type TargetWithoutParents struct {
	ID *string `json:"id,omitempty"`
	// An optional set of strings associated with the Target for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the `port` value will be overridden by the value from the DNS record.
	Target   *string                       `json:"target,omitempty"`
	Upstream *TargetWithoutParentsUpstream `json:"upstream,omitempty"`
	// The weight this target gets within the upstream loadbalancer (`0`-`65535`). If the hostname resolves to an SRV record, the `weight` value will be overridden by the value from the DNS record.
	Weight *int64 `json:"weight,omitempty"`
}

TargetWithoutParents - A target is an ip address/hostname with a port that identifies an instance of a backend service. Every upstream can have many targets, and the targets can be dynamically added, modified, or deleted. Changes take effect on the fly. To disable a target, post a new one with `weight=0`; alternatively, use the `DELETE` convenience method to accomplish the same. The current target object definition is the one with the latest `created_at`.

func (*TargetWithoutParents) GetID

func (o *TargetWithoutParents) GetID() *string

func (*TargetWithoutParents) GetTags

func (o *TargetWithoutParents) GetTags() []string

func (*TargetWithoutParents) GetTarget

func (o *TargetWithoutParents) GetTarget() *string

func (*TargetWithoutParents) GetUpstream

func (*TargetWithoutParents) GetWeight

func (o *TargetWithoutParents) GetWeight() *int64

type TargetWithoutParentsUpstream

type TargetWithoutParentsUpstream struct {
	ID *string `json:"id,omitempty"`
}

func (*TargetWithoutParentsUpstream) GetID

type Team

type Team struct {
	// The team ID.
	ID *string `json:"id,omitempty"`
	// The name of the team.
	Name *string `json:"name,omitempty"`
	// The team description in Konnect.
	Description *string `json:"description,omitempty"`
	// Returns True if a user belongs to a `system_team`. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service"
	SystemTeam *bool `json:"system_team,omitempty"`
	// Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
	//
	// Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
	//
	Labels map[string]string `json:"labels,omitempty"`
	// A Unix timestamp representation of team creation.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// A Unix timestamp representation of the most recent change to the team object in Konnect.
	//
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Team - The team object contains information about a group of users.

func (*Team) GetCreatedAt

func (o *Team) GetCreatedAt() *time.Time

func (*Team) GetDescription

func (o *Team) GetDescription() *string

func (*Team) GetID

func (o *Team) GetID() *string

func (*Team) GetLabels

func (o *Team) GetLabels() map[string]string

func (*Team) GetName

func (o *Team) GetName() *string

func (*Team) GetSystemTeam

func (o *Team) GetSystemTeam() *bool

func (*Team) GetUpdatedAt

func (o *Team) GetUpdatedAt() *time.Time

func (Team) MarshalJSON

func (t Team) MarshalJSON() ([]byte, error)

func (*Team) UnmarshalJSON

func (t *Team) UnmarshalJSON(data []byte) error

type TeamCollection

type TeamCollection struct {
	// returns the pagination information
	Meta *PaginatedMeta `json:"meta,omitempty"`
	Data []Team         `json:"data,omitempty"`
}

TeamCollection - A paginated list response for a collection of users.

func (*TeamCollection) GetData

func (o *TeamCollection) GetData() []Team

func (*TeamCollection) GetMeta

func (o *TeamCollection) GetMeta() *PaginatedMeta

type TeamGroupMapping

type TeamGroupMapping struct {
	// The Konnect team ID.
	TeamID *string `json:"team_id,omitempty"`
	// The IdP groups that are mapped to the specified team.
	Groups []string `json:"groups,omitempty"`
}

TeamGroupMapping - A map of Konnect Team to IdP groups.

func (*TeamGroupMapping) GetGroups

func (o *TeamGroupMapping) GetGroups() []string

func (*TeamGroupMapping) GetTeamID

func (o *TeamGroupMapping) GetTeamID() *string

type TeamGroupMappingCollection

type TeamGroupMappingCollection struct {
	// returns the pagination information
	Meta *PaginatedMeta     `json:"meta,omitempty"`
	Data []TeamGroupMapping `json:"data,omitempty"`
}

TeamGroupMappingCollection - A paginated collection of mappings grouped by team_id.

func (*TeamGroupMappingCollection) GetData

func (*TeamGroupMappingCollection) GetMeta

type TeamMapping

type TeamMapping struct {
	// The IdP group.
	Group *string `json:"group,omitempty"`
	// An array of ID's that are mapped to the specified group.
	TeamIds []string `json:"team_ids,omitempty"`
}

TeamMapping - A team assignment is a mapping of an IdP group to a Konnect Team.

func (*TeamMapping) GetGroup

func (o *TeamMapping) GetGroup() *string

func (*TeamMapping) GetTeamIds

func (o *TeamMapping) GetTeamIds() []string

type TeamMappingCollection

type TeamMappingCollection struct {
	Data []TeamMapping `json:"data,omitempty"`
}

TeamMappingCollection - A paginated list response for a collection of team mappings.

func (*TeamMappingCollection) GetData

func (o *TeamMappingCollection) GetData() []TeamMapping

type TeamMappingResponse

type TeamMappingResponse struct {
	// Contains pagination data.
	Meta *Meta                     `json:"meta,omitempty"`
	Data []TeamMappingResponseData `json:"data,omitempty"`
}

TeamMappingResponse - A paginated list response for a collection of team mappings.

func (*TeamMappingResponse) GetData

func (*TeamMappingResponse) GetMeta

func (o *TeamMappingResponse) GetMeta() *Meta

type TeamMappingResponseData

type TeamMappingResponseData struct {
	// Group names.
	Group *string `json:"group,omitempty"`
	// Team ID's that belong to the specified group.
	TeamIds []string `json:"team_ids,omitempty"`
}

func (*TeamMappingResponseData) GetGroup

func (o *TeamMappingResponseData) GetGroup() *string

func (*TeamMappingResponseData) GetTeamIds

func (o *TeamMappingResponseData) GetTeamIds() []string

type TeamMappingResponsePage

type TeamMappingResponsePage struct {
	// Page number.
	Number *int64 `json:"number,omitempty"`
	// Page size.
	Size *int64 `json:"size,omitempty"`
	// Total number of results.
	Total *int64 `json:"total,omitempty"`
}

TeamMappingResponsePage - The page object.

func (*TeamMappingResponsePage) GetNumber

func (o *TeamMappingResponsePage) GetNumber() *int64

func (*TeamMappingResponsePage) GetSize

func (o *TeamMappingResponsePage) GetSize() *int64

func (*TeamMappingResponsePage) GetTotal

func (o *TeamMappingResponsePage) GetTotal() *int64

type TransitGatewayDNSConfig added in v0.2.0

type TransitGatewayDNSConfig struct {
	// Remote DNS Server IP Addresses to connect to for resolving internal DNS via a transit gateway.
	RemoteDNSServerIPAddresses []string `json:"remote_dns_server_ip_addresses"`
	// Internal domain names to proxy for DNS resolution from the listed remote DNS server IP addresses,
	// for a transit gateway.
	//
	DomainProxyList []string `json:"domain_proxy_list"`
}

func (*TransitGatewayDNSConfig) GetDomainProxyList added in v0.2.0

func (o *TransitGatewayDNSConfig) GetDomainProxyList() []string

func (*TransitGatewayDNSConfig) GetRemoteDNSServerIPAddresses added in v0.2.0

func (o *TransitGatewayDNSConfig) GetRemoteDNSServerIPAddresses() []string

type TransitGatewayResponse added in v0.2.0

type TransitGatewayResponse struct {
	AwsTransitGatewayResponse   *AwsTransitGatewayResponse   `queryParam:"inline"`
	AzureTransitGatewayResponse *AzureTransitGatewayResponse `queryParam:"inline"`

	Type TransitGatewayResponseType
}

func CreateTransitGatewayResponseAwsTransitGatewayResponse added in v0.2.0

func CreateTransitGatewayResponseAwsTransitGatewayResponse(awsTransitGatewayResponse AwsTransitGatewayResponse) TransitGatewayResponse

func CreateTransitGatewayResponseAzureTransitGatewayResponse added in v0.2.0

func CreateTransitGatewayResponseAzureTransitGatewayResponse(azureTransitGatewayResponse AzureTransitGatewayResponse) TransitGatewayResponse

func (TransitGatewayResponse) MarshalJSON added in v0.2.0

func (u TransitGatewayResponse) MarshalJSON() ([]byte, error)

func (*TransitGatewayResponse) UnmarshalJSON added in v0.2.0

func (u *TransitGatewayResponse) UnmarshalJSON(data []byte) error

type TransitGatewayResponseType added in v0.2.0

type TransitGatewayResponseType string
const (
	TransitGatewayResponseTypeAwsTransitGatewayResponse   TransitGatewayResponseType = "AwsTransitGatewayResponse"
	TransitGatewayResponseTypeAzureTransitGatewayResponse TransitGatewayResponseType = "AzureTransitGatewayResponse"
)

type TransitGatewayState added in v0.2.0

type TransitGatewayState string

TransitGatewayState - State of the transit gateway.

const (
	TransitGatewayStateCreated      TransitGatewayState = "created"
	TransitGatewayStateInitializing TransitGatewayState = "initializing"
	TransitGatewayStateReady        TransitGatewayState = "ready"
	TransitGatewayStateTerminating  TransitGatewayState = "terminating"
	TransitGatewayStateTerminated   TransitGatewayState = "terminated"
)

func (TransitGatewayState) ToPointer added in v0.2.0

func (*TransitGatewayState) UnmarshalJSON added in v0.2.0

func (e *TransitGatewayState) UnmarshalJSON(data []byte) error

type TransitGatewayStateFieldEqualsComparison added in v0.2.0

type TransitGatewayStateFieldEqualsComparison struct {
}

type TransitGatewayStateFieldEqualsFilter added in v0.2.0

type TransitGatewayStateFieldEqualsFilter struct {
	TransitGatewayState                      *TransitGatewayState                      `queryParam:"inline"`
	TransitGatewayStateFieldEqualsComparison *TransitGatewayStateFieldEqualsComparison `queryParam:"inline"`

	Type TransitGatewayStateFieldEqualsFilterType
}

TransitGatewayStateFieldEqualsFilter - Filter transit-gateway state by exact match.

func CreateTransitGatewayStateFieldEqualsFilterTransitGatewayState added in v0.2.0

func CreateTransitGatewayStateFieldEqualsFilterTransitGatewayState(transitGatewayState TransitGatewayState) TransitGatewayStateFieldEqualsFilter

func CreateTransitGatewayStateFieldEqualsFilterTransitGatewayStateFieldEqualsComparison added in v0.2.0

func CreateTransitGatewayStateFieldEqualsFilterTransitGatewayStateFieldEqualsComparison(transitGatewayStateFieldEqualsComparison TransitGatewayStateFieldEqualsComparison) TransitGatewayStateFieldEqualsFilter

func (TransitGatewayStateFieldEqualsFilter) MarshalJSON added in v0.2.0

func (u TransitGatewayStateFieldEqualsFilter) MarshalJSON() ([]byte, error)

func (*TransitGatewayStateFieldEqualsFilter) UnmarshalJSON added in v0.2.0

func (u *TransitGatewayStateFieldEqualsFilter) UnmarshalJSON(data []byte) error

type TransitGatewayStateFieldEqualsFilterType added in v0.2.0

type TransitGatewayStateFieldEqualsFilterType string
const (
	TransitGatewayStateFieldEqualsFilterTypeTransitGatewayState                      TransitGatewayStateFieldEqualsFilterType = "TransitGatewayState"
	TransitGatewayStateFieldEqualsFilterTypeTransitGatewayStateFieldEqualsComparison TransitGatewayStateFieldEqualsFilterType = "TransitGatewayStateFieldEqualsComparison"
)

type TransitGatewayStateFieldFilter added in v0.2.0

type TransitGatewayStateFieldFilter struct {
	TransitGatewayStateFieldEqualsFilter     *TransitGatewayStateFieldEqualsFilter     `queryParam:"inline"`
	TransitGatewayStateFieldNotEqualsFilter  *TransitGatewayStateFieldNotEqualsFilter  `queryParam:"inline"`
	TransitGatewayStateFieldOrEqualityFilter *TransitGatewayStateFieldOrEqualityFilter `queryParam:"inline"`

	Type TransitGatewayStateFieldFilterType
}

func CreateTransitGatewayStateFieldFilterTransitGatewayStateFieldEqualsFilter added in v0.2.0

func CreateTransitGatewayStateFieldFilterTransitGatewayStateFieldEqualsFilter(transitGatewayStateFieldEqualsFilter TransitGatewayStateFieldEqualsFilter) TransitGatewayStateFieldFilter

func CreateTransitGatewayStateFieldFilterTransitGatewayStateFieldNotEqualsFilter added in v0.2.0

func CreateTransitGatewayStateFieldFilterTransitGatewayStateFieldNotEqualsFilter(transitGatewayStateFieldNotEqualsFilter TransitGatewayStateFieldNotEqualsFilter) TransitGatewayStateFieldFilter

func CreateTransitGatewayStateFieldFilterTransitGatewayStateFieldOrEqualityFilter added in v0.2.0

func CreateTransitGatewayStateFieldFilterTransitGatewayStateFieldOrEqualityFilter(transitGatewayStateFieldOrEqualityFilter TransitGatewayStateFieldOrEqualityFilter) TransitGatewayStateFieldFilter

func (TransitGatewayStateFieldFilter) MarshalJSON added in v0.2.0

func (u TransitGatewayStateFieldFilter) MarshalJSON() ([]byte, error)

func (*TransitGatewayStateFieldFilter) UnmarshalJSON added in v0.2.0

func (u *TransitGatewayStateFieldFilter) UnmarshalJSON(data []byte) error

type TransitGatewayStateFieldFilterType added in v0.2.0

type TransitGatewayStateFieldFilterType string
const (
	TransitGatewayStateFieldFilterTypeTransitGatewayStateFieldEqualsFilter     TransitGatewayStateFieldFilterType = "TransitGatewayStateFieldEqualsFilter"
	TransitGatewayStateFieldFilterTypeTransitGatewayStateFieldNotEqualsFilter  TransitGatewayStateFieldFilterType = "TransitGatewayStateFieldNotEqualsFilter"
	TransitGatewayStateFieldFilterTypeTransitGatewayStateFieldOrEqualityFilter TransitGatewayStateFieldFilterType = "TransitGatewayStateFieldOrEqualityFilter"
)

type TransitGatewayStateFieldNotEqualsFilter added in v0.2.0

type TransitGatewayStateFieldNotEqualsFilter struct {
}

TransitGatewayStateFieldNotEqualsFilter - Filter transit-gateway state by inequality match.

type TransitGatewayStateFieldOrEqualityFilter added in v0.2.0

type TransitGatewayStateFieldOrEqualityFilter struct {
	Oeq string `queryParam:"name=oeq"`
}

TransitGatewayStateFieldOrEqualityFilter - Filter transit-gateway state by determining if the value is equal to any in a set of values, where the set is a comma-delimited list.

func (*TransitGatewayStateFieldOrEqualityFilter) GetOeq added in v0.2.0

type TransitGatewaysFilterParameters added in v0.2.0

type TransitGatewaysFilterParameters struct {
	Name  *CloudGatewaysStringFieldFilterOverride `queryParam:"name=name"`
	State *TransitGatewayStateFieldFilter         `queryParam:"name=state"`
}

func (*TransitGatewaysFilterParameters) GetName added in v0.2.0

func (*TransitGatewaysFilterParameters) GetState added in v0.2.0

type Two

type Two struct {
	One *One    `queryParam:"inline"`
	Str *string `queryParam:"inline"`

	Type TwoType
}

func CreateTwoOne

func CreateTwoOne(one One) Two

func CreateTwoStr

func CreateTwoStr(str string) Two

func (Two) MarshalJSON

func (u Two) MarshalJSON() ([]byte, error)

func (*Two) UnmarshalJSON

func (u *Two) UnmarshalJSON(data []byte) error

type TwoType

type TwoType string
const (
	TwoTypeOne TwoType = "1"
	TwoTypeStr TwoType = "str"
)

type Type

type Type string
const (
	TypeTCP   Type = "tcp"
	TypeHTTP  Type = "http"
	TypeHTTPS Type = "https"
	TypeGrpc  Type = "grpc"
	TypeGrpcs Type = "grpcs"
)

func (Type) ToPointer

func (e Type) ToPointer() *Type

func (*Type) UnmarshalJSON

func (e *Type) UnmarshalJSON(data []byte) error

type Unhealthy

type Unhealthy struct {
	HTTPFailures *int64   `json:"http_failures,omitempty"`
	HTTPStatuses []int64  `json:"http_statuses,omitempty"`
	Interval     *float64 `json:"interval,omitempty"`
	TCPFailures  *int64   `json:"tcp_failures,omitempty"`
	Timeouts     *int64   `json:"timeouts,omitempty"`
}

func (*Unhealthy) DeepCopy

func (in *Unhealthy) DeepCopy() *Unhealthy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unhealthy.

func (*Unhealthy) DeepCopyInto

func (in *Unhealthy) DeepCopyInto(out *Unhealthy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Unhealthy) GetHTTPFailures

func (o *Unhealthy) GetHTTPFailures() *int64

func (*Unhealthy) GetHTTPStatuses

func (o *Unhealthy) GetHTTPStatuses() []int64

func (*Unhealthy) GetInterval

func (o *Unhealthy) GetInterval() *float64

func (*Unhealthy) GetTCPFailures

func (o *Unhealthy) GetTCPFailures() *int64

func (*Unhealthy) GetTimeouts

func (o *Unhealthy) GetTimeouts() *int64

type UpdateAuthenticationSettings

type UpdateAuthenticationSettings struct {
	// The organization has basic auth enabled.
	BasicAuthEnabled *bool `json:"basic_auth_enabled,omitempty"`
	// The organization has OIDC disabled.
	OidcAuthEnabled *bool `json:"oidc_auth_enabled,omitempty"`
	// The organization has SAML disabled.
	SamlAuthEnabled *bool `json:"saml_auth_enabled,omitempty"`
	// Whether IdP groups determine the Konnect teams a user has.
	IdpMappingEnabled *bool `json:"idp_mapping_enabled,omitempty"`
	// Whether a Konnect Identity Admin assigns teams to a user.
	KonnectMappingEnabled *bool `json:"konnect_mapping_enabled,omitempty"`
}

UpdateAuthenticationSettings - The request schema to update an organization's authentication settings.

func (*UpdateAuthenticationSettings) GetBasicAuthEnabled

func (o *UpdateAuthenticationSettings) GetBasicAuthEnabled() *bool

func (*UpdateAuthenticationSettings) GetIdpMappingEnabled

func (o *UpdateAuthenticationSettings) GetIdpMappingEnabled() *bool

func (*UpdateAuthenticationSettings) GetKonnectMappingEnabled

func (o *UpdateAuthenticationSettings) GetKonnectMappingEnabled() *bool

func (*UpdateAuthenticationSettings) GetOidcAuthEnabled

func (o *UpdateAuthenticationSettings) GetOidcAuthEnabled() *bool

func (*UpdateAuthenticationSettings) GetSamlAuthEnabled

func (o *UpdateAuthenticationSettings) GetSamlAuthEnabled() *bool

type UpdateConfigStore added in v0.1.28

type UpdateConfigStore struct {
	Name *string `json:"name,omitempty"`
}

UpdateConfigStore - The request schema to update a Config Store.

func (*UpdateConfigStore) GetName added in v0.1.28

func (o *UpdateConfigStore) GetName() *string

type UpdateConfigStoreSecret added in v0.1.28

type UpdateConfigStoreSecret struct {
	Value string `json:"value"`
}

func (*UpdateConfigStoreSecret) GetValue added in v0.1.28

func (o *UpdateConfigStoreSecret) GetValue() string

type UpdateControlPlaneRequest

type UpdateControlPlaneRequest struct {
	// The name of the control plane.
	Name *string `json:"name,omitempty"`
	// The description of the control plane in Konnect.
	Description *string `json:"description,omitempty"`
	// The auth type value of the cluster associated with the Runtime Group.
	AuthType *UpdateControlPlaneRequestAuthType `json:"auth_type,omitempty"`
	// Array of proxy URLs associated with reaching the data-planes connected to a control-plane.
	ProxyUrls []ProxyURL `json:"proxy_urls,omitempty"`
	// Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
	//
	// Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
	//
	Labels map[string]string `json:"labels,omitempty"`
}

UpdateControlPlaneRequest - The request schema for the update control plane request.

func (*UpdateControlPlaneRequest) GetAuthType

func (*UpdateControlPlaneRequest) GetDescription

func (o *UpdateControlPlaneRequest) GetDescription() *string

func (*UpdateControlPlaneRequest) GetLabels

func (o *UpdateControlPlaneRequest) GetLabels() map[string]string

func (*UpdateControlPlaneRequest) GetName

func (o *UpdateControlPlaneRequest) GetName() *string

func (*UpdateControlPlaneRequest) GetProxyUrls

func (o *UpdateControlPlaneRequest) GetProxyUrls() []ProxyURL

type UpdateControlPlaneRequestAuthType

type UpdateControlPlaneRequestAuthType string

UpdateControlPlaneRequestAuthType - The auth type value of the cluster associated with the Runtime Group.

const (
	UpdateControlPlaneRequestAuthTypePinnedClientCerts UpdateControlPlaneRequestAuthType = "pinned_client_certs"
	UpdateControlPlaneRequestAuthTypePkiClientCerts    UpdateControlPlaneRequestAuthType = "pki_client_certs"
)

func (UpdateControlPlaneRequestAuthType) ToPointer

func (*UpdateControlPlaneRequestAuthType) UnmarshalJSON

func (e *UpdateControlPlaneRequestAuthType) UnmarshalJSON(data []byte) error

type UpdateIDPConfiguration

type UpdateIDPConfiguration struct {
	Issuer        *string                              `json:"issuer,omitempty"`
	LoginPath     *string                              `json:"login_path,omitempty"`
	ClientID      *string                              `json:"client_id,omitempty"`
	ClientSecret  *string                              `json:"client_secret,omitempty"`
	Scopes        []string                             `json:"scopes,omitempty"`
	ClaimMappings *UpdateIDPConfigurationClaimMappings `json:"claim_mappings,omitempty"`
}

UpdateIDPConfiguration - The request schema for the update IdP configuration request.

func (*UpdateIDPConfiguration) GetClaimMappings

func (*UpdateIDPConfiguration) GetClientID

func (o *UpdateIDPConfiguration) GetClientID() *string

func (*UpdateIDPConfiguration) GetClientSecret

func (o *UpdateIDPConfiguration) GetClientSecret() *string

func (*UpdateIDPConfiguration) GetIssuer

func (o *UpdateIDPConfiguration) GetIssuer() *string

func (*UpdateIDPConfiguration) GetLoginPath

func (o *UpdateIDPConfiguration) GetLoginPath() *string

func (*UpdateIDPConfiguration) GetScopes

func (o *UpdateIDPConfiguration) GetScopes() []string

type UpdateIDPConfigurationClaimMappings

type UpdateIDPConfigurationClaimMappings struct {
	Name   *string `json:"name,omitempty"`
	Email  *string `json:"email,omitempty"`
	Groups *string `json:"groups,omitempty"`
}

func (*UpdateIDPConfigurationClaimMappings) GetEmail

func (*UpdateIDPConfigurationClaimMappings) GetGroups

func (*UpdateIDPConfigurationClaimMappings) GetName

type UpdateIdentityProvider added in v0.1.29

type UpdateIdentityProvider struct {
	// Indicates whether the identity provider is enabled.
	// Only one identity provider can be active at a time, such as SAML or OIDC.
	//
	Enabled *bool `default:"false" json:"enabled"`
	// The path used for initiating login requests with the identity provider.
	LoginPath *string                       `json:"login_path,omitempty"`
	Config    *UpdateIdentityProviderConfig `json:"config,omitempty"`
}

UpdateIdentityProvider - The identity provider that contains configuration data for updating an authentication integration.

func (*UpdateIdentityProvider) GetConfig added in v0.1.29

func (*UpdateIdentityProvider) GetEnabled added in v0.1.29

func (o *UpdateIdentityProvider) GetEnabled() *bool

func (*UpdateIdentityProvider) GetLoginPath added in v0.1.29

func (o *UpdateIdentityProvider) GetLoginPath() *string

func (UpdateIdentityProvider) MarshalJSON added in v0.1.29

func (u UpdateIdentityProvider) MarshalJSON() ([]byte, error)

func (*UpdateIdentityProvider) UnmarshalJSON added in v0.1.29

func (u *UpdateIdentityProvider) UnmarshalJSON(data []byte) error

type UpdateIdentityProviderConfig added in v0.1.29

type UpdateIdentityProviderConfig struct {
	OIDCIdentityProviderConfig      *OIDCIdentityProviderConfig      `queryParam:"inline"`
	SAMLIdentityProviderConfigInput *SAMLIdentityProviderConfigInput `queryParam:"inline"`

	Type UpdateIdentityProviderConfigType
}

func CreateUpdateIdentityProviderConfigOIDCIdentityProviderConfig added in v0.1.29

func CreateUpdateIdentityProviderConfigOIDCIdentityProviderConfig(oidcIdentityProviderConfig OIDCIdentityProviderConfig) UpdateIdentityProviderConfig

func CreateUpdateIdentityProviderConfigSAMLIdentityProviderConfigInput added in v0.1.29

func CreateUpdateIdentityProviderConfigSAMLIdentityProviderConfigInput(samlIdentityProviderConfigInput SAMLIdentityProviderConfigInput) UpdateIdentityProviderConfig

func (UpdateIdentityProviderConfig) MarshalJSON added in v0.1.29

func (u UpdateIdentityProviderConfig) MarshalJSON() ([]byte, error)

func (*UpdateIdentityProviderConfig) UnmarshalJSON added in v0.1.29

func (u *UpdateIdentityProviderConfig) UnmarshalJSON(data []byte) error

type UpdateIdentityProviderConfigType added in v0.1.29

type UpdateIdentityProviderConfigType string
const (
	UpdateIdentityProviderConfigTypeOIDCIdentityProviderConfig      UpdateIdentityProviderConfigType = "OIDCIdentityProviderConfig"
	UpdateIdentityProviderConfigTypeSAMLIdentityProviderConfigInput UpdateIdentityProviderConfigType = "SAMLIdentityProviderConfig_input"
)

type UpdateImpersonationSettingsRequest

type UpdateImpersonationSettingsRequest struct {
	// Indicates if user impersonation is allowed for the organization.
	Enabled *bool `json:"enabled,omitempty"`
}

UpdateImpersonationSettingsRequest - The request schema for adding a system account to a team.

func (*UpdateImpersonationSettingsRequest) GetEnabled

func (o *UpdateImpersonationSettingsRequest) GetEnabled() *bool

type UpdateImpersonationSettingsResponse

type UpdateImpersonationSettingsResponse struct {
	// The organization has user impersonation enabled.
	Enabled *bool `json:"enabled,omitempty"`
}

UpdateImpersonationSettingsResponse - Response for Update Impersonation Settings endpoint

func (*UpdateImpersonationSettingsResponse) GetEnabled

func (o *UpdateImpersonationSettingsResponse) GetEnabled() *bool

type UpdateSystemAccount

type UpdateSystemAccount struct {
	// Name of the system account.
	Name *string `json:"name,omitempty"`
	// Description of the system account.
	Description *string `json:"description,omitempty"`
}

UpdateSystemAccount - The request schema for the update system account request.

func (*UpdateSystemAccount) GetDescription

func (o *UpdateSystemAccount) GetDescription() *string

func (*UpdateSystemAccount) GetName

func (o *UpdateSystemAccount) GetName() *string

type UpdateSystemAccountAccessToken

type UpdateSystemAccountAccessToken struct {
	// Name of the system account access token.
	Name *string `json:"name,omitempty"`
}

func (*UpdateSystemAccountAccessToken) GetName

func (o *UpdateSystemAccountAccessToken) GetName() *string

type UpdateTeam

type UpdateTeam struct {
	// The name of the team.
	Name *string `json:"name,omitempty"`
	// The description of the team.
	Description *string `json:"description,omitempty"`
	// Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
	//
	// Labels are intended to store **INTERNAL** metadata.
	//
	// Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
	//
	Labels map[string]string `json:"labels,omitempty"`
}

UpdateTeam - The request schema for the update team request.

func (*UpdateTeam) GetDescription

func (o *UpdateTeam) GetDescription() *string

func (*UpdateTeam) GetLabels

func (o *UpdateTeam) GetLabels() map[string]string

func (*UpdateTeam) GetName

func (o *UpdateTeam) GetName() *string

type UpdateTeamMappings

type UpdateTeamMappings struct {
	// The mappings object.
	Mappings []Mappings `json:"mappings,omitempty"`
}

UpdateTeamMappings - The request schema for updating IdP team mappings.

func (*UpdateTeamMappings) GetMappings

func (o *UpdateTeamMappings) GetMappings() []Mappings

type UpdateUser

type UpdateUser struct {
	// The user's full name.
	FullName *string `json:"full_name,omitempty"`
	// The user's desired name.
	PreferredName *string `json:"preferred_name,omitempty"`
}

UpdateUser - The request schema for the update user request.

func (*UpdateUser) GetFullName

func (o *UpdateUser) GetFullName() *string

func (*UpdateUser) GetPreferredName

func (o *UpdateUser) GetPreferredName() *string

type Upstream

type Upstream struct {
	// Which load balancing algorithm to use.
	Algorithm *UpstreamAlgorithm `json:"algorithm,omitempty"`
	// If set, the certificate to be used as client certificate while TLS handshaking to the upstream server.
	ClientCertificate *UpstreamClientCertificate `json:"client_certificate,omitempty"`
	// Unix epoch when the resource was created.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// What to use as hashing input if the primary `hash_on` does not return a hash (eg. header is missing, or no Consumer identified). Not available if `hash_on` is set to `cookie`.
	HashFallback *HashFallback `json:"hash_fallback,omitempty"`
	// The header name to take the value from as hash input. Only required when `hash_fallback` is set to `header`.
	HashFallbackHeader *string `json:"hash_fallback_header,omitempty"`
	// The name of the query string argument to take the value from as hash input. Only required when `hash_fallback` is set to `query_arg`.
	HashFallbackQueryArg *string `json:"hash_fallback_query_arg,omitempty"`
	// The name of the route URI capture to take the value from as hash input. Only required when `hash_fallback` is set to `uri_capture`.
	HashFallbackURICapture *string `json:"hash_fallback_uri_capture,omitempty"`
	// What to use as hashing input. Using `none` results in a weighted-round-robin scheme with no hashing.
	HashOn *HashOn `json:"hash_on,omitempty"`
	// The cookie name to take the value from as hash input. Only required when `hash_on` or `hash_fallback` is set to `cookie`. If the specified cookie is not in the request, Kong will generate a value and set the cookie in the response.
	HashOnCookie *string `json:"hash_on_cookie,omitempty"`
	// The cookie path to set in the response headers. Only required when `hash_on` or `hash_fallback` is set to `cookie`.
	HashOnCookiePath *string `json:"hash_on_cookie_path,omitempty"`
	// The header name to take the value from as hash input. Only required when `hash_on` is set to `header`.
	HashOnHeader *string `json:"hash_on_header,omitempty"`
	// The name of the query string argument to take the value from as hash input. Only required when `hash_on` is set to `query_arg`.
	HashOnQueryArg *string `json:"hash_on_query_arg,omitempty"`
	// The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`.
	HashOnURICapture *string       `json:"hash_on_uri_capture,omitempty"`
	Healthchecks     *Healthchecks `json:"healthchecks,omitempty"`
	// The hostname to be used as `Host` header when proxying requests through Kong.
	HostHeader *string `json:"host_header,omitempty"`
	ID         *string `json:"id,omitempty"`
	// This is a hostname, which must be equal to the `host` of a Service.
	Name string `json:"name"`
	// The number of slots in the load balancer algorithm. If `algorithm` is set to `round-robin`, this setting determines the maximum number of slots. If `algorithm` is set to `consistent-hashing`, this setting determines the actual number of slots in the algorithm. Accepts an integer in the range `10`-`65536`.
	Slots *int64 `json:"slots,omitempty"`
	// An optional set of strings associated with the Upstream for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
	// If set, the balancer will use SRV hostname(if DNS Answer has SRV record) as the proxy upstream `Host`.
	UseSrvName *bool `json:"use_srv_name,omitempty"`
}

Upstream - The upstream object represents a virtual hostname and can be used to loadbalance incoming requests over multiple services (targets). So for example an upstream named `service.v1.xyz` for a Service object whose `host` is `service.v1.xyz`. Requests for this Service would be proxied to the targets defined within the upstream. An upstream also includes a [health checker][healthchecks], which is able to enable and disable targets based on their ability or inability to serve requests. The configuration for the health checker is stored in the upstream object, and applies to all of its targets.

func (*Upstream) GetAlgorithm

func (o *Upstream) GetAlgorithm() *UpstreamAlgorithm

func (*Upstream) GetClientCertificate

func (o *Upstream) GetClientCertificate() *UpstreamClientCertificate

func (*Upstream) GetCreatedAt

func (o *Upstream) GetCreatedAt() *int64

func (*Upstream) GetHashFallback

func (o *Upstream) GetHashFallback() *HashFallback

func (*Upstream) GetHashFallbackHeader

func (o *Upstream) GetHashFallbackHeader() *string

func (*Upstream) GetHashFallbackQueryArg

func (o *Upstream) GetHashFallbackQueryArg() *string

func (*Upstream) GetHashFallbackURICapture

func (o *Upstream) GetHashFallbackURICapture() *string

func (*Upstream) GetHashOn

func (o *Upstream) GetHashOn() *HashOn

func (*Upstream) GetHashOnCookie

func (o *Upstream) GetHashOnCookie() *string

func (*Upstream) GetHashOnCookiePath

func (o *Upstream) GetHashOnCookiePath() *string

func (*Upstream) GetHashOnHeader

func (o *Upstream) GetHashOnHeader() *string

func (*Upstream) GetHashOnQueryArg

func (o *Upstream) GetHashOnQueryArg() *string

func (*Upstream) GetHashOnURICapture

func (o *Upstream) GetHashOnURICapture() *string

func (*Upstream) GetHealthchecks

func (o *Upstream) GetHealthchecks() *Healthchecks

func (*Upstream) GetHostHeader

func (o *Upstream) GetHostHeader() *string

func (*Upstream) GetID

func (o *Upstream) GetID() *string

func (*Upstream) GetName

func (o *Upstream) GetName() string

func (*Upstream) GetSlots

func (o *Upstream) GetSlots() *int64

func (*Upstream) GetTags

func (o *Upstream) GetTags() []string

func (*Upstream) GetUpdatedAt

func (o *Upstream) GetUpdatedAt() *int64

func (*Upstream) GetUseSrvName

func (o *Upstream) GetUseSrvName() *bool

type UpstreamAdmin

type UpstreamAdmin struct {
	Name        RolesControlPlanesRolesUpstreamAdminName        `json:"name"`
	Description RolesControlPlanesRolesUpstreamAdminDescription `json:"description"`
}

func (*UpstreamAdmin) GetDescription

func (*UpstreamAdmin) GetName

type UpstreamAlgorithm

type UpstreamAlgorithm string

UpstreamAlgorithm - Which load balancing algorithm to use.

const (
	UpstreamAlgorithmConsistentHashing UpstreamAlgorithm = "consistent-hashing"
	UpstreamAlgorithmLeastConnections  UpstreamAlgorithm = "least-connections"
	UpstreamAlgorithmRoundRobin        UpstreamAlgorithm = "round-robin"
	UpstreamAlgorithmLatency           UpstreamAlgorithm = "latency"
)

func (UpstreamAlgorithm) ToPointer

func (e UpstreamAlgorithm) ToPointer() *UpstreamAlgorithm

func (*UpstreamAlgorithm) UnmarshalJSON

func (e *UpstreamAlgorithm) UnmarshalJSON(data []byte) error

type UpstreamClientCertificate

type UpstreamClientCertificate struct {
	ID *string `json:"id,omitempty"`
}

UpstreamClientCertificate - If set, the certificate to be used as client certificate while TLS handshaking to the upstream server.

func (*UpstreamClientCertificate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamClientCertificate.

func (*UpstreamClientCertificate) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UpstreamClientCertificate) GetID

func (o *UpstreamClientCertificate) GetID() *string

type UpstreamHealthy

type UpstreamHealthy struct {
	HTTPStatuses []int64 `json:"http_statuses,omitempty"`
	Successes    *int64  `json:"successes,omitempty"`
}

func (*UpstreamHealthy) DeepCopy

func (in *UpstreamHealthy) DeepCopy() *UpstreamHealthy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamHealthy.

func (*UpstreamHealthy) DeepCopyInto

func (in *UpstreamHealthy) DeepCopyInto(out *UpstreamHealthy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UpstreamHealthy) GetHTTPStatuses

func (o *UpstreamHealthy) GetHTTPStatuses() []int64

func (*UpstreamHealthy) GetSuccesses

func (o *UpstreamHealthy) GetSuccesses() *int64

type UpstreamInput

type UpstreamInput struct {
	// Which load balancing algorithm to use.
	Algorithm *UpstreamAlgorithm `json:"algorithm,omitempty"`
	// If set, the certificate to be used as client certificate while TLS handshaking to the upstream server.
	ClientCertificate *UpstreamClientCertificate `json:"client_certificate,omitempty"`
	// What to use as hashing input if the primary `hash_on` does not return a hash (eg. header is missing, or no Consumer identified). Not available if `hash_on` is set to `cookie`.
	HashFallback *HashFallback `json:"hash_fallback,omitempty"`
	// The header name to take the value from as hash input. Only required when `hash_fallback` is set to `header`.
	HashFallbackHeader *string `json:"hash_fallback_header,omitempty"`
	// The name of the query string argument to take the value from as hash input. Only required when `hash_fallback` is set to `query_arg`.
	HashFallbackQueryArg *string `json:"hash_fallback_query_arg,omitempty"`
	// The name of the route URI capture to take the value from as hash input. Only required when `hash_fallback` is set to `uri_capture`.
	HashFallbackURICapture *string `json:"hash_fallback_uri_capture,omitempty"`
	// What to use as hashing input. Using `none` results in a weighted-round-robin scheme with no hashing.
	HashOn *HashOn `json:"hash_on,omitempty"`
	// The cookie name to take the value from as hash input. Only required when `hash_on` or `hash_fallback` is set to `cookie`. If the specified cookie is not in the request, Kong will generate a value and set the cookie in the response.
	HashOnCookie *string `json:"hash_on_cookie,omitempty"`
	// The cookie path to set in the response headers. Only required when `hash_on` or `hash_fallback` is set to `cookie`.
	HashOnCookiePath *string `json:"hash_on_cookie_path,omitempty"`
	// The header name to take the value from as hash input. Only required when `hash_on` is set to `header`.
	HashOnHeader *string `json:"hash_on_header,omitempty"`
	// The name of the query string argument to take the value from as hash input. Only required when `hash_on` is set to `query_arg`.
	HashOnQueryArg *string `json:"hash_on_query_arg,omitempty"`
	// The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`.
	HashOnURICapture *string       `json:"hash_on_uri_capture,omitempty"`
	Healthchecks     *Healthchecks `json:"healthchecks,omitempty"`
	// The hostname to be used as `Host` header when proxying requests through Kong.
	HostHeader *string `json:"host_header,omitempty"`
	ID         *string `json:"id,omitempty"`
	// This is a hostname, which must be equal to the `host` of a Service.
	Name string `json:"name"`
	// The number of slots in the load balancer algorithm. If `algorithm` is set to `round-robin`, this setting determines the maximum number of slots. If `algorithm` is set to `consistent-hashing`, this setting determines the actual number of slots in the algorithm. Accepts an integer in the range `10`-`65536`.
	Slots *int64 `json:"slots,omitempty"`
	// An optional set of strings associated with the Upstream for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// If set, the balancer will use SRV hostname(if DNS Answer has SRV record) as the proxy upstream `Host`.
	UseSrvName *bool `json:"use_srv_name,omitempty"`
}

UpstreamInput - The upstream object represents a virtual hostname and can be used to loadbalance incoming requests over multiple services (targets). So for example an upstream named `service.v1.xyz` for a Service object whose `host` is `service.v1.xyz`. Requests for this Service would be proxied to the targets defined within the upstream. An upstream also includes a [health checker][healthchecks], which is able to enable and disable targets based on their ability or inability to serve requests. The configuration for the health checker is stored in the upstream object, and applies to all of its targets.

func (*UpstreamInput) GetAlgorithm

func (o *UpstreamInput) GetAlgorithm() *UpstreamAlgorithm

func (*UpstreamInput) GetClientCertificate

func (o *UpstreamInput) GetClientCertificate() *UpstreamClientCertificate

func (*UpstreamInput) GetHashFallback

func (o *UpstreamInput) GetHashFallback() *HashFallback

func (*UpstreamInput) GetHashFallbackHeader

func (o *UpstreamInput) GetHashFallbackHeader() *string

func (*UpstreamInput) GetHashFallbackQueryArg

func (o *UpstreamInput) GetHashFallbackQueryArg() *string

func (*UpstreamInput) GetHashFallbackURICapture

func (o *UpstreamInput) GetHashFallbackURICapture() *string

func (*UpstreamInput) GetHashOn

func (o *UpstreamInput) GetHashOn() *HashOn

func (*UpstreamInput) GetHashOnCookie

func (o *UpstreamInput) GetHashOnCookie() *string

func (*UpstreamInput) GetHashOnCookiePath

func (o *UpstreamInput) GetHashOnCookiePath() *string

func (*UpstreamInput) GetHashOnHeader

func (o *UpstreamInput) GetHashOnHeader() *string

func (*UpstreamInput) GetHashOnQueryArg

func (o *UpstreamInput) GetHashOnQueryArg() *string

func (*UpstreamInput) GetHashOnURICapture

func (o *UpstreamInput) GetHashOnURICapture() *string

func (*UpstreamInput) GetHealthchecks

func (o *UpstreamInput) GetHealthchecks() *Healthchecks

func (*UpstreamInput) GetHostHeader

func (o *UpstreamInput) GetHostHeader() *string

func (*UpstreamInput) GetID

func (o *UpstreamInput) GetID() *string

func (*UpstreamInput) GetName

func (o *UpstreamInput) GetName() string

func (*UpstreamInput) GetSlots

func (o *UpstreamInput) GetSlots() *int64

func (*UpstreamInput) GetTags

func (o *UpstreamInput) GetTags() []string

func (*UpstreamInput) GetUseSrvName

func (o *UpstreamInput) GetUseSrvName() *bool

type UpstreamType

type UpstreamType string
const (
	UpstreamTypeTCP   UpstreamType = "tcp"
	UpstreamTypeHTTP  UpstreamType = "http"
	UpstreamTypeHTTPS UpstreamType = "https"
	UpstreamTypeGrpc  UpstreamType = "grpc"
	UpstreamTypeGrpcs UpstreamType = "grpcs"
)

func (UpstreamType) ToPointer

func (e UpstreamType) ToPointer() *UpstreamType

func (*UpstreamType) UnmarshalJSON

func (e *UpstreamType) UnmarshalJSON(data []byte) error

type UpstreamUnhealthy

type UpstreamUnhealthy struct {
	HTTPFailures *int64  `json:"http_failures,omitempty"`
	HTTPStatuses []int64 `json:"http_statuses,omitempty"`
	TCPFailures  *int64  `json:"tcp_failures,omitempty"`
	Timeouts     *int64  `json:"timeouts,omitempty"`
}

func (*UpstreamUnhealthy) DeepCopy

func (in *UpstreamUnhealthy) DeepCopy() *UpstreamUnhealthy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamUnhealthy.

func (*UpstreamUnhealthy) DeepCopyInto

func (in *UpstreamUnhealthy) DeepCopyInto(out *UpstreamUnhealthy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UpstreamUnhealthy) GetHTTPFailures

func (o *UpstreamUnhealthy) GetHTTPFailures() *int64

func (*UpstreamUnhealthy) GetHTTPStatuses

func (o *UpstreamUnhealthy) GetHTTPStatuses() []int64

func (*UpstreamUnhealthy) GetTCPFailures

func (o *UpstreamUnhealthy) GetTCPFailures() *int64

func (*UpstreamUnhealthy) GetTimeouts

func (o *UpstreamUnhealthy) GetTimeouts() *int64

type User

type User struct {
	// The User ID.
	ID *string `json:"id,omitempty"`
	// The email registered to the user.
	Email *string `json:"email,omitempty"`
	// The User's full name.
	FullName *string `json:"full_name,omitempty"`
	// The User's preferred name.
	PreferredName *string `json:"preferred_name,omitempty"`
	// Returns True if a user has verified their email address.
	Active *bool `json:"active,omitempty"`
	// The time stamp for the date the account was registered.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// A Unix timestamp representation of the most recent change to the User account.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

User - The user object contains information about an individual user who can use the Konnect application and API.

func (*User) GetActive

func (o *User) GetActive() *bool

func (*User) GetCreatedAt

func (o *User) GetCreatedAt() *time.Time

func (*User) GetEmail

func (o *User) GetEmail() *string

func (*User) GetFullName

func (o *User) GetFullName() *string

func (*User) GetID

func (o *User) GetID() *string

func (*User) GetPreferredName

func (o *User) GetPreferredName() *string

func (*User) GetUpdatedAt

func (o *User) GetUpdatedAt() *time.Time

func (User) MarshalJSON

func (u User) MarshalJSON() ([]byte, error)

func (*User) UnmarshalJSON

func (u *User) UnmarshalJSON(data []byte) error

type UserCollection

type UserCollection struct {
	// returns the pagination information
	Meta *PaginatedMeta `json:"meta,omitempty"`
	Data []User         `json:"data,omitempty"`
}

UserCollection - A paginated list response for a collection of users.

func (*UserCollection) GetData

func (o *UserCollection) GetData() []User

func (*UserCollection) GetMeta

func (o *UserCollection) GetMeta() *PaginatedMeta

type Vault

type Vault struct {
	// The configuration properties for the Vault which can be found on the vaults' documentation page.
	Config map[string]any `json:"config"`
	// Unix epoch when the resource was created.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// The description of the Vault entity.
	Description *string `json:"description,omitempty"`
	ID          *string `json:"id,omitempty"`
	// The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance.
	Name string `json:"name"`
	// The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities.
	Prefix string `json:"prefix"`
	// An optional set of strings associated with the Vault for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
	// Unix epoch when the resource was last updated.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
}

Vault entities are used to configure different Vault connectors. Examples of Vaults are Environment Variables, Hashicorp Vault and AWS Secrets Manager. Configuring a Vault allows referencing the secrets with other entities. For example a certificate entity can store a reference to a certificate and key, stored in a vault, instead of storing the certificate and key within the entity. This allows a proper separation of secrets and configuration and prevents secret sprawl.

func (*Vault) GetConfig

func (o *Vault) GetConfig() map[string]any

func (*Vault) GetCreatedAt

func (o *Vault) GetCreatedAt() *int64

func (*Vault) GetDescription

func (o *Vault) GetDescription() *string

func (*Vault) GetID

func (o *Vault) GetID() *string

func (*Vault) GetName

func (o *Vault) GetName() string

func (*Vault) GetPrefix

func (o *Vault) GetPrefix() string

func (*Vault) GetTags

func (o *Vault) GetTags() []string

func (*Vault) GetUpdatedAt

func (o *Vault) GetUpdatedAt() *int64

type VaultInput

type VaultInput struct {
	// The configuration properties for the Vault which can be found on the vaults' documentation page.
	Config map[string]any `json:"config"`
	// The description of the Vault entity.
	Description *string `json:"description,omitempty"`
	ID          *string `json:"id,omitempty"`
	// The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance.
	Name string `json:"name"`
	// The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities.
	Prefix string `json:"prefix"`
	// An optional set of strings associated with the Vault for grouping and filtering.
	Tags []string `json:"tags,omitempty"`
}

VaultInput - Vault entities are used to configure different Vault connectors. Examples of Vaults are Environment Variables, Hashicorp Vault and AWS Secrets Manager. Configuring a Vault allows referencing the secrets with other entities. For example a certificate entity can store a reference to a certificate and key, stored in a vault, instead of storing the certificate and key within the entity. This allows a proper separation of secrets and configuration and prevents secret sprawl.

func (*VaultInput) GetConfig

func (o *VaultInput) GetConfig() map[string]any

func (*VaultInput) GetDescription

func (o *VaultInput) GetDescription() *string

func (*VaultInput) GetID

func (o *VaultInput) GetID() *string

func (*VaultInput) GetName

func (o *VaultInput) GetName() string

func (*VaultInput) GetPrefix

func (o *VaultInput) GetPrefix() string

func (*VaultInput) GetTags

func (o *VaultInput) GetTags() []string

type Viewer

type Viewer struct {
	Name        RolesControlPlanesRolesViewerName        `json:"name"`
	Description RolesControlPlanesRolesViewerDescription `json:"description"`
}

func (*Viewer) GetDescription

func (*Viewer) GetName

Source Files

Jump to

Keyboard shortcuts

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