Documentation ¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration
- type APIClient
- type APIResponse
- type AddTargetRequest
- type AddTargetResponse
- type ChangeLoadBalancerInstanceConfigurationRequest
- type ChangeLoadBalancerInstanceConfigurationResponse
- type ChangeLoadBalancerListenerConfigurationRequest
- type ChangeLoadBalancerListenerConfigurationResponse
- type ChangeTargetGroupConfigurationRequest
- type ChangeTargetGroupConfigurationResponse
- type ChangeTargetGroupHealthCheckConfigurationRequest
- type ChangeTargetGroupHealthCheckConfigurationResponse
- type CommonCode
- type CreateLoadBalancerInstanceRequest
- type CreateLoadBalancerInstanceResponse
- type CreateLoadBalancerListenerRequest
- type CreateLoadBalancerListenerResponse
- type CreateTargetGroupRequest
- type CreateTargetGroupResponse
- type DeleteLoadBalancerInstancesRequest
- type DeleteLoadBalancerInstancesResponse
- type DeleteLoadBalancerListenersRequest
- type DeleteLoadBalancerListenersResponse
- type DeleteTargetGroupsRequest
- type DeleteTargetGroupsResponse
- type GetLoadBalancerInstanceDetailRequest
- type GetLoadBalancerInstanceDetailResponse
- type GetLoadBalancerInstanceListRequest
- type GetLoadBalancerInstanceListResponse
- type GetLoadBalancerListenerListRequest
- type GetLoadBalancerListenerListResponse
- type GetLoadBalancerRuleListRequest
- type GetLoadBalancerRuleListResponse
- type GetTargetGroupDetailRequest
- type GetTargetGroupDetailResponse
- type GetTargetGroupListRequest
- type GetTargetGroupListResponse
- type GetTargetListRequest
- type GetTargetListResponse
- type HostHeaderCondition
- type LoadBalancerInstance
- type LoadBalancerListener
- type LoadBalancerListenerParameter
- type LoadBalancerRule
- type LoadBalancerRuleAction
- type LoadBalancerRuleCondition
- type PathPatternCondition
- type RedirectionAction
- type RemoveTargetRequest
- type RemoveTargetResponse
- type SetLoadBalancerDescriptionRequest
- type SetLoadBalancerDescriptionResponse
- type SetLoadBalancerInstanceSubnetRequest
- type SetLoadBalancerInstanceSubnetResponse
- type SetTargetGroupDescriptionRequest
- type SetTargetGroupDescriptionResponse
- type SetTargetRequest
- type SetTargetResponse
- type Target
- type TargetGroup
- type TargetGroupAction
- type TargetGroupWeight
- type V2ApiService
- func (a *V2ApiService) AddTarget(addTargetRequest *AddTargetRequest) (*AddTargetResponse, error)
- func (a *V2ApiService) ChangeLoadBalancerInstanceConfiguration(...) (*ChangeLoadBalancerInstanceConfigurationResponse, error)
- func (a *V2ApiService) ChangeLoadBalancerListenerConfiguration(...) (*ChangeLoadBalancerListenerConfigurationResponse, error)
- func (a *V2ApiService) ChangeTargetGroupConfiguration(changeTargetGroupConfigurationRequest *ChangeTargetGroupConfigurationRequest) (*ChangeTargetGroupConfigurationResponse, error)
- func (a *V2ApiService) ChangeTargetGroupHealthCheckConfiguration(...) (*ChangeTargetGroupHealthCheckConfigurationResponse, error)
- func (a *V2ApiService) CreateLoadBalancerInstance(createLoadBalancerInstanceRequest *CreateLoadBalancerInstanceRequest) (*CreateLoadBalancerInstanceResponse, error)
- func (a *V2ApiService) CreateLoadBalancerListener(createLoadBalancerListenerRequest *CreateLoadBalancerListenerRequest) (*CreateLoadBalancerListenerResponse, error)
- func (a *V2ApiService) CreateTargetGroup(createTargetGroupRequest *CreateTargetGroupRequest) (*CreateTargetGroupResponse, error)
- func (a *V2ApiService) DeleteLoadBalancerInstances(deleteLoadBalancerInstancesRequest *DeleteLoadBalancerInstancesRequest) (*DeleteLoadBalancerInstancesResponse, error)
- func (a *V2ApiService) DeleteLoadBalancerListeners(deleteLoadBalancerListenersRequest *DeleteLoadBalancerListenersRequest) (*DeleteLoadBalancerListenersResponse, error)
- func (a *V2ApiService) DeleteTargetGroups(deleteTargetGroupsRequest *DeleteTargetGroupsRequest) (*DeleteTargetGroupsResponse, error)
- func (a *V2ApiService) GetLoadBalancerInstanceDetail(getLoadBalancerInstanceDetailRequest *GetLoadBalancerInstanceDetailRequest) (*GetLoadBalancerInstanceDetailResponse, error)
- func (a *V2ApiService) GetLoadBalancerInstanceList(getLoadBalancerInstanceListRequest *GetLoadBalancerInstanceListRequest) (*GetLoadBalancerInstanceListResponse, error)
- func (a *V2ApiService) GetLoadBalancerListenerList(getLoadBalancerListenerListRequest *GetLoadBalancerListenerListRequest) (*GetLoadBalancerListenerListResponse, error)
- func (a *V2ApiService) GetLoadBalancerRuleList(getLoadBalancerRuleListRequest *GetLoadBalancerRuleListRequest) (*GetLoadBalancerRuleListResponse, error)
- func (a *V2ApiService) GetTargetGroupDetail(getTargetGroupDetailRequest *GetTargetGroupDetailRequest) (*GetTargetGroupDetailResponse, error)
- func (a *V2ApiService) GetTargetGroupList(getTargetGroupListRequest *GetTargetGroupListRequest) (*GetTargetGroupListResponse, error)
- func (a *V2ApiService) GetTargetList(getTargetListRequest *GetTargetListRequest) (*GetTargetListResponse, error)
- func (a *V2ApiService) RemoveTarget(removeTargetRequest *RemoveTargetRequest) (*RemoveTargetResponse, error)
- func (a *V2ApiService) SetLoadBalancerDescription(setLoadBalancerDescriptionRequest *SetLoadBalancerDescriptionRequest) (*SetLoadBalancerDescriptionResponse, error)
- func (a *V2ApiService) SetLoadBalancerInstanceSubnet(setLoadBalancerInstanceSubnetRequest *SetLoadBalancerInstanceSubnetRequest) (*SetLoadBalancerInstanceSubnetResponse, error)
- func (a *V2ApiService) SetTarget(setTargetRequest *SetTargetRequest) (*SetTargetResponse, error)
- func (a *V2ApiService) SetTargetGroupDescription(setTargetGroupDescriptionRequest *SetTargetGroupDescriptionRequest) (*SetTargetGroupDescriptionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration
Types ¶
type APIClient ¶
type APIClient struct { // API Services V2Api *V2ApiService // contains filtered or unexported fields }
APIClient manages communication with the vloadbalancer API v2020-12-22T09:19:59Z In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *ncloud.Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AddTargetRequest ¶
type AddTargetResponse ¶
type ChangeLoadBalancerInstanceConfigurationRequest ¶
type ChangeLoadBalancerInstanceConfigurationRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 연결타임아웃 IdleTimeout *int32 `json:"idleTimeout,omitempty"` // 로드밸런서인스턴스번호 LoadBalancerInstanceNo *string `json:"loadBalancerInstanceNo"` // 부하처리성능유형코드 ThroughputTypeCode *string `json:"throughputTypeCode,omitempty"` }
type ChangeLoadBalancerInstanceConfigurationResponse ¶
type ChangeLoadBalancerInstanceConfigurationResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerInstanceList []*LoadBalancerInstance `json:"loadBalancerInstanceList,omitempty"` }
type ChangeLoadBalancerListenerConfigurationRequest ¶
type ChangeLoadBalancerListenerConfigurationRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // SSL인증서번호 SslCertificateNo *string `json:"sslCertificateNo,omitempty"` // HTTP2사용여부 UseHttp2 *bool `json:"useHttp2,omitempty"` // 로드밸런서리스너번호 LoadBalancerListenerNo *string `json:"loadBalancerListenerNo"` // 포트 Port *int32 `json:"port,omitempty"` // 프로토콜유형코드 ProtocolTypeCode *string `json:"protocolTypeCode,omitempty"` // TLS최소지원버전유형코드 TlsMinVersionTypeCode *string `json:"tlsMinVersionTypeCode,omitempty"` }
type ChangeLoadBalancerListenerConfigurationResponse ¶
type ChangeLoadBalancerListenerConfigurationResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerListenerList []*LoadBalancerListener `json:"loadBalancerListenerList,omitempty"` }
type ChangeTargetGroupConfigurationRequest ¶
type ChangeTargetGroupConfigurationRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 알고리즘유형코드 AlgorithmTypeCode *string `json:"algorithmTypeCode,omitempty"` // 프록시프로토콜사용여부 UseProxyProtocol *bool `json:"useProxyProtocol,omitempty"` // 세션별접근사용여부 UseStickySession *bool `json:"useStickySession,omitempty"` // 타겟그룹번호 TargetGroupNo *string `json:"targetGroupNo"` }
type ChangeTargetGroupConfigurationResponse ¶
type ChangeTargetGroupConfigurationResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` TargetGroupList []*TargetGroup `json:"targetGroupList,omitempty"` }
type ChangeTargetGroupHealthCheckConfigurationRequest ¶
type ChangeTargetGroupHealthCheckConfigurationRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 헬스체크주기 HealthCheckCycle *int32 `json:"healthCheckCycle,omitempty"` // 헬스체크실패임계값 HealthCheckDownThreshold *int32 `json:"healthCheckDownThreshold,omitempty"` // 헬스체크HTTP메소드유형코드 HealthCheckHttpMethodTypeCode *string `json:"healthCheckHttpMethodTypeCode,omitempty"` // 헬스체크포트 HealthCheckPort *int32 `json:"healthCheckPort,omitempty"` // 헬스체크정상임계값 HealthCheckUpThreshold *int32 `json:"healthCheckUpThreshold,omitempty"` // 헬스체크URL경로 HealthCheckUrlPath *string `json:"healthCheckUrlPath,omitempty"` // 타겟그룹번호 TargetGroupNo *string `json:"targetGroupNo"` }
type ChangeTargetGroupHealthCheckConfigurationResponse ¶
type ChangeTargetGroupHealthCheckConfigurationResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` TargetGroupList []*TargetGroup `json:"targetGroupList,omitempty"` }
type CommonCode ¶
type CreateLoadBalancerInstanceRequest ¶
type CreateLoadBalancerInstanceRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 연결타임아웃 IdleTimeout *int32 `json:"idleTimeout,omitempty"` // 로드밸런서설명 LoadBalancerDescription *string `json:"loadBalancerDescription,omitempty"` // 로드밸런서네트워크유형코드 LoadBalancerNetworkTypeCode *string `json:"loadBalancerNetworkTypeCode,omitempty"` // 로드밸런서유형코드 LoadBalancerTypeCode *string `json:"loadBalancerTypeCode"` // 로드밸런서리스너리스트 LoadBalancerListenerList []*LoadBalancerListenerParameter `json:"loadBalancerListenerList,omitempty"` // 로드밸런서이름 LoadBalancerName *string `json:"loadBalancerName,omitempty"` // 부하처리성능유형코드 ThroughputTypeCode *string `json:"throughputTypeCode,omitempty"` // VPC번호 VpcNo *string `json:"vpcNo"` // 서브넷번호리스트 SubnetNoList []*string `json:"subnetNoList"` }
type CreateLoadBalancerInstanceResponse ¶
type CreateLoadBalancerInstanceResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerInstanceList []*LoadBalancerInstance `json:"loadBalancerInstanceList,omitempty"` }
type CreateLoadBalancerListenerRequest ¶
type CreateLoadBalancerListenerRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // SSL인증서번호 SslCertificateNo *string `json:"sslCertificateNo,omitempty"` // HTTP2사용여부 UseHttp2 *bool `json:"useHttp2,omitempty"` // 로드밸런서인스턴스번호 LoadBalancerInstanceNo *string `json:"loadBalancerInstanceNo"` // 포트 Port *int32 `json:"port"` // 프로토콜유형코드 ProtocolTypeCode *string `json:"protocolTypeCode"` // TLS최소지원버전유형코드 TlsMinVersionTypeCode *string `json:"tlsMinVersionTypeCode,omitempty"` // 타겟그룹번호 TargetGroupNo *string `json:"targetGroupNo"` }
type CreateLoadBalancerListenerResponse ¶
type CreateLoadBalancerListenerResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerListenerList []*LoadBalancerListener `json:"loadBalancerListenerList,omitempty"` }
type CreateTargetGroupRequest ¶
type CreateTargetGroupRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 타겟그룹포트 TargetGroupPort *int32 `json:"targetGroupPort,omitempty"` // 타겟그룹프로토콜유형코드 TargetGroupProtocolTypeCode *string `json:"targetGroupProtocolTypeCode"` // 타겟그룹설명 TargetGroupDescription *string `json:"targetGroupDescription,omitempty"` // 헬스체크주기 HealthCheckCycle *int32 `json:"healthCheckCycle,omitempty"` // 헬스체크실패임계값 HealthCheckDownThreshold *int32 `json:"healthCheckDownThreshold,omitempty"` // 헬스체크HTTP메소드유형코드 HealthCheckHttpMethodTypeCode *string `json:"healthCheckHttpMethodTypeCode,omitempty"` // 헬스체크포트 HealthCheckPort *int32 `json:"healthCheckPort,omitempty"` // 헬스체크프로토콜유형코드 HealthCheckProtocolTypeCode *string `json:"healthCheckProtocolTypeCode"` // 헬스체크정상임계값 HealthCheckUpThreshold *int32 `json:"healthCheckUpThreshold,omitempty"` // 헬스체크URL경로 HealthCheckUrlPath *string `json:"healthCheckUrlPath,omitempty"` // 타겟그룹이름 TargetGroupName *string `json:"targetGroupName,omitempty"` // 타겟번호리스트 TargetNoList []*string `json:"targetNoList,omitempty"` // 타겟유형코드 TargetTypeCode *string `json:"targetTypeCode,omitempty"` // VPC번호 VpcNo *string `json:"vpcNo"` }
type CreateTargetGroupResponse ¶
type CreateTargetGroupResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` TargetGroupList []*TargetGroup `json:"targetGroupList,omitempty"` }
type DeleteLoadBalancerInstancesResponse ¶
type DeleteLoadBalancerInstancesResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerInstanceList []*LoadBalancerInstance `json:"loadBalancerInstanceList,omitempty"` }
type DeleteLoadBalancerListenersResponse ¶
type DeleteLoadBalancerListenersResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerListenerList []*LoadBalancerListener `json:"loadBalancerListenerList,omitempty"` }
type DeleteTargetGroupsResponse ¶
type DeleteTargetGroupsResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` TargetGroupList []*TargetGroup `json:"targetGroupList,omitempty"` }
type GetLoadBalancerInstanceDetailResponse ¶
type GetLoadBalancerInstanceDetailResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerInstanceList []*LoadBalancerInstance `json:"loadBalancerInstanceList,omitempty"` }
type GetLoadBalancerInstanceListRequest ¶
type GetLoadBalancerInstanceListRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 로드밸런서인스턴스번호리스트 LoadBalancerInstanceNoList []*string `json:"loadBalancerInstanceNoList,omitempty"` // 로드밸런서네트워크유형코드 LoadBalancerNetworkTypeCode *string `json:"loadBalancerNetworkTypeCode,omitempty"` // 로드밸런서유형코드 LoadBalancerTypeCode *string `json:"loadBalancerTypeCode,omitempty"` // 페이지번호 PageNo *int32 `json:"pageNo,omitempty"` // 페이지사이즈 PageSize *int32 `json:"pageSize,omitempty"` // 정렬리스트 SortList *string `json:"sortList,omitempty"` // VPC번호 VpcNo *string `json:"vpcNo,omitempty"` }
type GetLoadBalancerInstanceListResponse ¶
type GetLoadBalancerInstanceListResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerInstanceList []*LoadBalancerInstance `json:"loadBalancerInstanceList,omitempty"` }
type GetLoadBalancerListenerListResponse ¶
type GetLoadBalancerListenerListResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerListenerList []*LoadBalancerListener `json:"loadBalancerListenerList,omitempty"` }
type GetLoadBalancerRuleListResponse ¶
type GetLoadBalancerRuleListResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerRuleList []*LoadBalancerRule `json:"loadBalancerRuleList,omitempty"` }
type GetTargetGroupDetailResponse ¶
type GetTargetGroupDetailResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` TargetGroupList []*TargetGroup `json:"targetGroupList,omitempty"` }
type GetTargetGroupListRequest ¶
type GetTargetGroupListRequest struct { // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 타겟그룹번호리스트 TargetGroupNoList []*string `json:"targetGroupNoList,omitempty"` // 페이지번호 PageNo *int32 `json:"pageNo,omitempty"` // 페이지사이즈 PageSize *int32 `json:"pageSize,omitempty"` // 정렬리스트 SortList *string `json:"sortList,omitempty"` // 타겟유형코드 TargetTypeCode *string `json:"targetTypeCode,omitempty"` // VPC번호 VpcNo *string `json:"vpcNo,omitempty"` }
type GetTargetGroupListResponse ¶
type GetTargetGroupListResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` TargetGroupList []*TargetGroup `json:"targetGroupList,omitempty"` }
type GetTargetListRequest ¶
type GetTargetListResponse ¶
type HostHeaderCondition ¶
type HostHeaderCondition struct { // 호스트헤더리스트 HostHeaderList []*string `json:"hostHeaderList,omitempty"` }
type LoadBalancerInstance ¶
type LoadBalancerInstance struct { // 로드밸런서인스턴스번호 LoadBalancerInstanceNo *string `json:"loadBalancerInstanceNo,omitempty"` // 로드밸런서인스턴스상태 LoadBalancerInstanceStatus *CommonCode `json:"loadBalancerInstanceStatus,omitempty"` // 로드밸런서인스턴스OP LoadBalancerInstanceOperation *CommonCode `json:"loadBalancerInstanceOperation,omitempty"` // 로드밸런서인스턴스상태이름 LoadBalancerInstanceStatusName *string `json:"loadBalancerInstanceStatusName,omitempty"` // 로드밸런서설명 LoadBalancerDescription *string `json:"loadBalancerDescription,omitempty"` // 생성일시 CreateDate *string `json:"createDate,omitempty"` // 로드밸런서이름 LoadBalancerName *string `json:"loadBalancerName,omitempty"` // 로드밸런서도메인 LoadBalancerDomain *string `json:"loadBalancerDomain,omitempty"` // 로드밸런서IP리스트 LoadBalancerIpList []*string `json:"loadBalancerIpList,omitempty"` // 로드밸런서유형 LoadBalancerType *CommonCode `json:"loadBalancerType,omitempty"` // 로드밸런서네트워크유형 LoadBalancerNetworkType *CommonCode `json:"loadBalancerNetworkType,omitempty"` // 부하처리성능유형 ThroughputType *CommonCode `json:"throughputType,omitempty"` // 연결타임아웃 IdleTimeout *int32 `json:"idleTimeout,omitempty"` // VPC번호 VpcNo *string `json:"vpcNo,omitempty"` // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 서브넷번호리스트 SubnetNoList []*string `json:"subnetNoList,omitempty"` // 로드밸런서리스너번호리스트 LoadBalancerListenerNoList []*string `json:"loadBalancerListenerNoList,omitempty"` }
type LoadBalancerListener ¶
type LoadBalancerListener struct { // 로드밸런서인스턴스번호 LoadBalancerInstanceNo *string `json:"loadBalancerInstanceNo,omitempty"` // 로드밸런서리스너번호 LoadBalancerListenerNo *string `json:"loadBalancerListenerNo,omitempty"` // 프로토콜유형 ProtocolType *CommonCode `json:"protocolType,omitempty"` // 포트 Port *int32 `json:"port,omitempty"` // HTTP2사용여부 UseHttp2 *bool `json:"useHttp2,omitempty"` // SSL인증서번호 SslCertificateNo *string `json:"sslCertificateNo,omitempty"` // TLS최소지원버전유형 TlsMinVersionType *CommonCode `json:"tlsMinVersionType,omitempty"` // 로드밸런서룰번호리스트 LoadBalancerRuleNoList []*string `json:"loadBalancerRuleNoList,omitempty"` }
type LoadBalancerListenerParameter ¶
type LoadBalancerListenerParameter struct { // SSL인증서번호 SslCertificateNo *string `json:"sslCertificateNo,omitempty"` // HTTP2사용여부 UseHttp2 *bool `json:"useHttp2,omitempty"` // 포트 Port *int32 `json:"port,omitempty"` // 프로토콜유형코드 ProtocolTypeCode *string `json:"protocolTypeCode,omitempty"` // TLS최소지원버전유형코드 TlsMinVersionTypeCode *string `json:"tlsMinVersionTypeCode,omitempty"` // 타겟그룹번호 TargetGroupNo *string `json:"targetGroupNo"` }
type LoadBalancerRule ¶
type LoadBalancerRule struct { // 로드밸런서룰번호 LoadBalancerRuleNo *string `json:"loadBalancerRuleNo,omitempty"` // 로드밸런서리스너번호 LoadBalancerListenerNo *string `json:"loadBalancerListenerNo,omitempty"` // 우선순위 Priority *int32 `json:"priority,omitempty"` // 로드밸런서룰조건리스트 LoadBalancerRuleConditionList []*LoadBalancerRuleCondition `json:"loadBalancerRuleConditionList,omitempty"` // 로드밸런서룰액션리스트 LoadBalancerRuleActionList []*LoadBalancerRuleAction `json:"loadBalancerRuleActionList,omitempty"` }
type LoadBalancerRuleAction ¶
type LoadBalancerRuleAction struct { // 룰액션유형 RuleActionType *CommonCode `json:"ruleActionType,omitempty"` // 타겟그룹액션 TargetGroupAction *TargetGroupAction `json:"targetGroupAction,omitempty"` // 리다이렉션액션 RedirectionAction *RedirectionAction `json:"redirectionAction,omitempty"` }
type LoadBalancerRuleCondition ¶
type LoadBalancerRuleCondition struct { // 룰조건유형 RuleConditionType *CommonCode `json:"ruleConditionType,omitempty"` // 호스트헤더조건 HostHeaderCondition *HostHeaderCondition `json:"hostHeaderCondition,omitempty"` // 경로패턴조건 PathPatternCondition *PathPatternCondition `json:"pathPatternCondition,omitempty"` }
type PathPatternCondition ¶
type PathPatternCondition struct { // 경로패턴리스트 PathPatternList []*string `json:"pathPatternList,omitempty"` }
type RedirectionAction ¶
type RedirectionAction struct { // 프로토콜 Protocol *string `json:"protocol,omitempty"` // 포트 Port *string `json:"port,omitempty"` // 호스트 Host *string `json:"host,omitempty"` // 경로 Path *string `json:"path,omitempty"` // 쿼리 Query *string `json:"query,omitempty"` // 상태코드 StatusCode *string `json:"statusCode,omitempty"` }
type RemoveTargetRequest ¶
type RemoveTargetResponse ¶
type SetLoadBalancerDescriptionResponse ¶
type SetLoadBalancerDescriptionResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerInstanceList []*LoadBalancerInstance `json:"loadBalancerInstanceList,omitempty"` }
type SetLoadBalancerInstanceSubnetResponse ¶
type SetLoadBalancerInstanceSubnetResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` LoadBalancerInstanceList []*LoadBalancerInstance `json:"loadBalancerInstanceList,omitempty"` }
type SetTargetGroupDescriptionResponse ¶
type SetTargetGroupDescriptionResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` TotalRows *int32 `json:"totalRows,omitempty"` TargetGroupList []*TargetGroup `json:"targetGroupList,omitempty"` }
type SetTargetRequest ¶
type SetTargetResponse ¶
type Target ¶
type Target struct { // 타겟번호 TargetNo *string `json:"targetNo,omitempty"` // 헬스체크상태 HealthCheckStatus *CommonCode `json:"healthCheckStatus,omitempty"` // 헬스체크응답 HealthCheckResponse *string `json:"healthCheckResponse,omitempty"` }
type TargetGroup ¶
type TargetGroup struct { // 타겟그룹번호 TargetGroupNo *string `json:"targetGroupNo,omitempty"` // 타겟그룹이름 TargetGroupName *string `json:"targetGroupName,omitempty"` // 타겟유형 TargetType *CommonCode `json:"targetType,omitempty"` // VPC번호 VpcNo *string `json:"vpcNo,omitempty"` // 타겟그룹프로토콜유형 TargetGroupProtocolType *CommonCode `json:"targetGroupProtocolType,omitempty"` // 타겟그룹포트 TargetGroupPort *int32 `json:"targetGroupPort,omitempty"` // 타겟그룹설명 TargetGroupDescription *string `json:"targetGroupDescription,omitempty"` // 세션별접근사용여부 UseStickySession *bool `json:"useStickySession,omitempty"` // 프록시프로토콜사용여부 UseProxyProtocol *bool `json:"useProxyProtocol,omitempty"` // 알고리즘유형 AlgorithmType *CommonCode `json:"algorithmType,omitempty"` // 생성일시 CreateDate *string `json:"createDate,omitempty"` // REGION코드 RegionCode *string `json:"regionCode,omitempty"` // 로드밸런서인스턴스번호 LoadBalancerInstanceNo *string `json:"loadBalancerInstanceNo,omitempty"` // 헬스체크프로토콜유형 HealthCheckProtocolType *CommonCode `json:"healthCheckProtocolType,omitempty"` // 타겟그룹포트 HealthCheckPort *int32 `json:"healthCheckPort,omitempty"` // 헬스체크URL경로 HealthCheckUrlPath *string `json:"healthCheckUrlPath,omitempty"` // 헬스체크HTTP메소드유형 HealthCheckHttpMethodType *CommonCode `json:"healthCheckHttpMethodType,omitempty"` // 헬스체크주기 HealthCheckCycle *int32 `json:"healthCheckCycle,omitempty"` // 헬스체크정상임계값 HealthCheckUpThreshold *int32 `json:"healthCheckUpThreshold,omitempty"` // 헬스체크실패임계값 HealthCheckDownThreshold *int32 `json:"healthCheckDownThreshold,omitempty"` // 타겟번호리스트 TargetNoList []*string `json:"targetNoList,omitempty"` }
type TargetGroupAction ¶
type TargetGroupAction struct { // 타겟그룹가중치리스트 TargetGroupWeightList []*TargetGroupWeight `json:"targetGroupWeightList,omitempty"` // 세션별접근사용여부 UseStickySession *bool `json:"useStickySession,omitempty"` }
type TargetGroupWeight ¶
type V2ApiService ¶
type V2ApiService service
func (*V2ApiService) AddTarget ¶
func (a *V2ApiService) AddTarget(addTargetRequest *AddTargetRequest) (*AddTargetResponse, error)
V2ApiService 타겟추가 @param addTargetRequest addTargetRequest @return *AddTargetResponse
func (*V2ApiService) ChangeLoadBalancerInstanceConfiguration ¶
func (a *V2ApiService) ChangeLoadBalancerInstanceConfiguration(changeLoadBalancerInstanceConfigurationRequest *ChangeLoadBalancerInstanceConfigurationRequest) (*ChangeLoadBalancerInstanceConfigurationResponse, error)
V2ApiService 로드밸런서인스턴스설정변경 @param changeLoadBalancerInstanceConfigurationRequest changeLoadBalancerInstanceConfigurationRequest @return *ChangeLoadBalancerInstanceConfigurationResponse
func (*V2ApiService) ChangeLoadBalancerListenerConfiguration ¶
func (a *V2ApiService) ChangeLoadBalancerListenerConfiguration(changeLoadBalancerListenerConfigurationRequest *ChangeLoadBalancerListenerConfigurationRequest) (*ChangeLoadBalancerListenerConfigurationResponse, error)
V2ApiService 로드밸런서리스너설정변경 @param changeLoadBalancerListenerConfigurationRequest changeLoadBalancerListenerConfigurationRequest @return *ChangeLoadBalancerListenerConfigurationResponse
func (*V2ApiService) ChangeTargetGroupConfiguration ¶
func (a *V2ApiService) ChangeTargetGroupConfiguration(changeTargetGroupConfigurationRequest *ChangeTargetGroupConfigurationRequest) (*ChangeTargetGroupConfigurationResponse, error)
V2ApiService 타겟그룹설정변경 @param changeTargetGroupConfigurationRequest changeTargetGroupConfigurationRequest @return *ChangeTargetGroupConfigurationResponse
func (*V2ApiService) ChangeTargetGroupHealthCheckConfiguration ¶
func (a *V2ApiService) ChangeTargetGroupHealthCheckConfiguration(changeTargetGroupHealthCheckConfigurationRequest *ChangeTargetGroupHealthCheckConfigurationRequest) (*ChangeTargetGroupHealthCheckConfigurationResponse, error)
V2ApiService 타겟그룹헬스체크설정변경 @param changeTargetGroupHealthCheckConfigurationRequest changeTargetGroupHealthCheckConfigurationRequest @return *ChangeTargetGroupHealthCheckConfigurationResponse
func (*V2ApiService) CreateLoadBalancerInstance ¶
func (a *V2ApiService) CreateLoadBalancerInstance(createLoadBalancerInstanceRequest *CreateLoadBalancerInstanceRequest) (*CreateLoadBalancerInstanceResponse, error)
V2ApiService 로드밸런서인스턴스생성 @param createLoadBalancerInstanceRequest createLoadBalancerInstanceRequest @return *CreateLoadBalancerInstanceResponse
func (*V2ApiService) CreateLoadBalancerListener ¶
func (a *V2ApiService) CreateLoadBalancerListener(createLoadBalancerListenerRequest *CreateLoadBalancerListenerRequest) (*CreateLoadBalancerListenerResponse, error)
V2ApiService 로드밸런서리스너생성 @param createLoadBalancerListenerRequest createLoadBalancerListenerRequest @return *CreateLoadBalancerListenerResponse
func (*V2ApiService) CreateTargetGroup ¶
func (a *V2ApiService) CreateTargetGroup(createTargetGroupRequest *CreateTargetGroupRequest) (*CreateTargetGroupResponse, error)
V2ApiService 타겟그룹생성 @param createTargetGroupRequest createTargetGroupRequest @return *CreateTargetGroupResponse
func (*V2ApiService) DeleteLoadBalancerInstances ¶
func (a *V2ApiService) DeleteLoadBalancerInstances(deleteLoadBalancerInstancesRequest *DeleteLoadBalancerInstancesRequest) (*DeleteLoadBalancerInstancesResponse, error)
V2ApiService 로드밸런서인스턴스삭제 @param deleteLoadBalancerInstancesRequest deleteLoadBalancerInstancesRequest @return *DeleteLoadBalancerInstancesResponse
func (*V2ApiService) DeleteLoadBalancerListeners ¶
func (a *V2ApiService) DeleteLoadBalancerListeners(deleteLoadBalancerListenersRequest *DeleteLoadBalancerListenersRequest) (*DeleteLoadBalancerListenersResponse, error)
V2ApiService 로드밸런서리스너삭제 @param deleteLoadBalancerListenersRequest deleteLoadBalancerListenersRequest @return *DeleteLoadBalancerListenersResponse
func (*V2ApiService) DeleteTargetGroups ¶
func (a *V2ApiService) DeleteTargetGroups(deleteTargetGroupsRequest *DeleteTargetGroupsRequest) (*DeleteTargetGroupsResponse, error)
V2ApiService 타겟그룹삭제 @param deleteTargetGroupsRequest deleteTargetGroupsRequest @return *DeleteTargetGroupsResponse
func (*V2ApiService) GetLoadBalancerInstanceDetail ¶
func (a *V2ApiService) GetLoadBalancerInstanceDetail(getLoadBalancerInstanceDetailRequest *GetLoadBalancerInstanceDetailRequest) (*GetLoadBalancerInstanceDetailResponse, error)
V2ApiService 로드밸런서인스턴스상세조회 @param getLoadBalancerInstanceDetailRequest getLoadBalancerInstanceDetailRequest @return *GetLoadBalancerInstanceDetailResponse
func (*V2ApiService) GetLoadBalancerInstanceList ¶
func (a *V2ApiService) GetLoadBalancerInstanceList(getLoadBalancerInstanceListRequest *GetLoadBalancerInstanceListRequest) (*GetLoadBalancerInstanceListResponse, error)
V2ApiService 로드밸런서인스턴스리스트조회 @param getLoadBalancerInstanceListRequest getLoadBalancerInstanceListRequest @return *GetLoadBalancerInstanceListResponse
func (*V2ApiService) GetLoadBalancerListenerList ¶
func (a *V2ApiService) GetLoadBalancerListenerList(getLoadBalancerListenerListRequest *GetLoadBalancerListenerListRequest) (*GetLoadBalancerListenerListResponse, error)
V2ApiService 로드밸런서리스너리스트조회 @param getLoadBalancerListenerListRequest getLoadBalancerListenerListRequest @return *GetLoadBalancerListenerListResponse
func (*V2ApiService) GetLoadBalancerRuleList ¶
func (a *V2ApiService) GetLoadBalancerRuleList(getLoadBalancerRuleListRequest *GetLoadBalancerRuleListRequest) (*GetLoadBalancerRuleListResponse, error)
V2ApiService 로드밸런서룰리스트조회 @param getLoadBalancerRuleListRequest getLoadBalancerRuleListRequest @return *GetLoadBalancerRuleListResponse
func (*V2ApiService) GetTargetGroupDetail ¶
func (a *V2ApiService) GetTargetGroupDetail(getTargetGroupDetailRequest *GetTargetGroupDetailRequest) (*GetTargetGroupDetailResponse, error)
V2ApiService 타겟그룹상세조회 @param getTargetGroupDetailRequest getTargetGroupDetailRequest @return *GetTargetGroupDetailResponse
func (*V2ApiService) GetTargetGroupList ¶
func (a *V2ApiService) GetTargetGroupList(getTargetGroupListRequest *GetTargetGroupListRequest) (*GetTargetGroupListResponse, error)
V2ApiService 타겟그룹리스트조회 @param getTargetGroupListRequest getTargetGroupListRequest @return *GetTargetGroupListResponse
func (*V2ApiService) GetTargetList ¶
func (a *V2ApiService) GetTargetList(getTargetListRequest *GetTargetListRequest) (*GetTargetListResponse, error)
V2ApiService 타겟리스트조회 @param getTargetListRequest getTargetListRequest @return *GetTargetListResponse
func (*V2ApiService) RemoveTarget ¶
func (a *V2ApiService) RemoveTarget(removeTargetRequest *RemoveTargetRequest) (*RemoveTargetResponse, error)
V2ApiService 타겟제거 @param removeTargetRequest removeTargetRequest @return *RemoveTargetResponse
func (*V2ApiService) SetLoadBalancerDescription ¶
func (a *V2ApiService) SetLoadBalancerDescription(setLoadBalancerDescriptionRequest *SetLoadBalancerDescriptionRequest) (*SetLoadBalancerDescriptionResponse, error)
V2ApiService 로드밸런서설명설정 @param setLoadBalancerDescriptionRequest setLoadBalancerDescriptionRequest @return *SetLoadBalancerDescriptionResponse
func (*V2ApiService) SetLoadBalancerInstanceSubnet ¶
func (a *V2ApiService) SetLoadBalancerInstanceSubnet(setLoadBalancerInstanceSubnetRequest *SetLoadBalancerInstanceSubnetRequest) (*SetLoadBalancerInstanceSubnetResponse, error)
V2ApiService 로드밸런서인스턴스서브넷설정 @param setLoadBalancerInstanceSubnetRequest setLoadBalancerInstanceSubnetRequest @return *SetLoadBalancerInstanceSubnetResponse
func (*V2ApiService) SetTarget ¶
func (a *V2ApiService) SetTarget(setTargetRequest *SetTargetRequest) (*SetTargetResponse, error)
V2ApiService 타겟설정 @param setTargetRequest setTargetRequest @return *SetTargetResponse
func (*V2ApiService) SetTargetGroupDescription ¶
func (a *V2ApiService) SetTargetGroupDescription(setTargetGroupDescriptionRequest *SetTargetGroupDescriptionRequest) (*SetTargetGroupDescriptionResponse, error)
V2ApiService 타겟그룹설명설정 @param setTargetGroupDescriptionRequest setTargetGroupDescriptionRequest @return *SetTargetGroupDescriptionResponse
Source Files ¶
- add_target_request.go
- add_target_response.go
- api_client.go
- api_response.go
- change_load_balancer_instance_configuration_request.go
- change_load_balancer_instance_configuration_response.go
- change_load_balancer_listener_configuration_request.go
- change_load_balancer_listener_configuration_response.go
- change_target_group_configuration_request.go
- change_target_group_configuration_response.go
- change_target_group_health_check_configuration_request.go
- change_target_group_health_check_configuration_response.go
- common_code.go
- configuration.go
- create_load_balancer_instance_request.go
- create_load_balancer_instance_response.go
- create_load_balancer_listener_request.go
- create_load_balancer_listener_response.go
- create_target_group_request.go
- create_target_group_response.go
- delete_load_balancer_instances_request.go
- delete_load_balancer_instances_response.go
- delete_load_balancer_listeners_request.go
- delete_load_balancer_listeners_response.go
- delete_target_groups_request.go
- delete_target_groups_response.go
- get_load_balancer_instance_detail_request.go
- get_load_balancer_instance_detail_response.go
- get_load_balancer_instance_list_request.go
- get_load_balancer_instance_list_response.go
- get_load_balancer_listener_list_request.go
- get_load_balancer_listener_list_response.go
- get_load_balancer_rule_list_request.go
- get_load_balancer_rule_list_response.go
- get_target_group_detail_request.go
- get_target_group_detail_response.go
- get_target_group_list_request.go
- get_target_group_list_response.go
- get_target_list_request.go
- get_target_list_response.go
- host_header_condition.go
- load_balancer_instance.go
- load_balancer_listener.go
- load_balancer_listener_parameter.go
- load_balancer_rule.go
- load_balancer_rule_action.go
- load_balancer_rule_condition.go
- path_pattern_condition.go
- redirection_action.go
- remove_target_request.go
- remove_target_response.go
- set_load_balancer_description_request.go
- set_load_balancer_description_response.go
- set_load_balancer_instance_subnet_request.go
- set_load_balancer_instance_subnet_response.go
- set_target_group_description_request.go
- set_target_group_description_response.go
- set_target_request.go
- set_target_response.go
- target.go
- target_group.go
- target_group_action.go
- target_group_weight.go
- v2_api.go