v1alpha1

package
v0.18.13 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 28

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tilt-dev/tilt/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=core.tilt.dev

Index

Constants

View Source
const AnnotationSpanID = "tilt.dev/log-span-id"

An annotation on any object that identifies which span id its logs should appear under.

View Source
const GroupName = "core.tilt.dev"

GroupName is the group name used in this package

View Source
const LabelManifest = "tilt.dev/resource"

The label on any object that identifies which manifest its logs should appear under.

View Source
const LabelTargetID = "tilt.dev/target-id"

LabelTargetID is an internal Tilt target ID used for the build graph.

View Source
const Version = "v1alpha1"

Variables

View Source
var AddToScheme = func(scheme *runtime.Scheme) error {
	metav1.AddToGroupVersion(scheme, schema.GroupVersion{
		Group:   GroupName,
		Version: Version,
	})

	objs := []runtime.Object{}
	for _, obj := range AllResourceObjects() {
		objs = append(objs, obj)
	}
	objs = append(objs, AllResourceLists()...)

	scheme.AddKnownTypes(schema.GroupVersion{
		Group:   GroupName,
		Version: Version,
	}, objs...)
	return nil
}
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func AllResourceLists

func AllResourceLists() []runtime.Object

func AllResourceObjects

func AllResourceObjects() []resource.Object

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Cmd added in v0.18.11

type Cmd struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CmdSpec   `json:"spec,omitempty"`
	Status CmdStatus `json:"status,omitempty"`
}

Cmd +k8s:openapi-gen=true

func (*Cmd) DeepCopy added in v0.18.11

func (in *Cmd) DeepCopy() *Cmd

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

func (*Cmd) DeepCopyInto added in v0.18.11

func (in *Cmd) DeepCopyInto(out *Cmd)

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

func (*Cmd) DeepCopyObject added in v0.18.11

func (in *Cmd) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Cmd) GetGroupVersionResource added in v0.18.11

func (in *Cmd) GetGroupVersionResource() schema.GroupVersionResource

func (*Cmd) GetObjectMeta added in v0.18.11

func (in *Cmd) GetObjectMeta() *metav1.ObjectMeta

func (*Cmd) GetStatus added in v0.18.11

func (in *Cmd) GetStatus() resource.StatusSubResource

func (*Cmd) IsStorageVersion added in v0.18.11

func (in *Cmd) IsStorageVersion() bool

func (*Cmd) NamespaceScoped added in v0.18.11

func (in *Cmd) NamespaceScoped() bool

func (*Cmd) New added in v0.18.11

func (in *Cmd) New() runtime.Object

func (*Cmd) NewList added in v0.18.11

func (in *Cmd) NewList() runtime.Object

func (*Cmd) Validate added in v0.18.11

func (in *Cmd) Validate(ctx context.Context) field.ErrorList

type CmdList added in v0.18.11

type CmdList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Cmd `json:"items"`
}

CmdList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CmdList) DeepCopy added in v0.18.11

func (in *CmdList) DeepCopy() *CmdList

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

func (*CmdList) DeepCopyInto added in v0.18.11

func (in *CmdList) DeepCopyInto(out *CmdList)

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

func (*CmdList) DeepCopyObject added in v0.18.11

func (in *CmdList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CmdList) GetListMeta added in v0.18.11

func (in *CmdList) GetListMeta() *metav1.ListMeta

type CmdSpec added in v0.18.11

type CmdSpec struct {
	// Command-line arguments. Must have length at least 1.
	Args []string `json:"args,omitempty"`

	// Process working directory.
	//
	// If the working directory is not specified, the command is run
	// in the default Tilt working directory.
	//
	// +optional
	Dir string `json:"dir,omitempty"`

	// Additional variables process environment.
	//
	// Expressed as a C-style array of strings of the form ["KEY1=VALUE1", "KEY2=VALUE2", ...].
	//
	// Environment variables are layered on top of the environment variables
	// that Tilt runs with.
	//
	// +optional
	Env []string `json:"env,omitempty"`

	// Periodic probe of service readiness.
	//
	// +optional
	ReadinessProbe *Probe `json:"readinessProbe,omitempty"`
}

CmdSpec defines the desired state of Cmd

func (*CmdSpec) DeepCopy added in v0.18.11

func (in *CmdSpec) DeepCopy() *CmdSpec

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

func (*CmdSpec) DeepCopyInto added in v0.18.11

func (in *CmdSpec) DeepCopyInto(out *CmdSpec)

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

type CmdStateRunning added in v0.18.11

type CmdStateRunning struct {
	// The process id of the command.
	PID int32 `json:"pid"`

	// Time at which the command was last started.
	StartedAt metav1.Time `json:"startedAt,omitempty"`
}

CmdStateRunning is a running state of a local command.

func (*CmdStateRunning) DeepCopy added in v0.18.11

func (in *CmdStateRunning) DeepCopy() *CmdStateRunning

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

func (*CmdStateRunning) DeepCopyInto added in v0.18.11

func (in *CmdStateRunning) DeepCopyInto(out *CmdStateRunning)

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

type CmdStateTerminated added in v0.18.11

type CmdStateTerminated struct {
	// The process id of the command.
	PID int32 `json:"pid"`

	// Exit status from the last termination of the command
	ExitCode int32 `json:"exitCode"`

	// Time at which previous execution of the command started
	StartedAt metav1.Time `json:"startedAt,omitempty"`

	// Time at which the command last terminated
	FinishedAt metav1.Time `json:"finishedAt,omitempty"`

	// (brief) reason the process is terminated
	// +optional
	Reason string `json:"reason,omitempty"`
}

CmdStateTerminated is a terminated state of a local command.

func (*CmdStateTerminated) DeepCopy added in v0.18.11

func (in *CmdStateTerminated) DeepCopy() *CmdStateTerminated

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

func (*CmdStateTerminated) DeepCopyInto added in v0.18.11

func (in *CmdStateTerminated) DeepCopyInto(out *CmdStateTerminated)

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

type CmdStateWaiting added in v0.18.11

type CmdStateWaiting struct {
	// (brief) reason the process is not yet running.
	// +optional
	Reason string `json:"reason,omitempty"`
}

CmdStateWaiting is a waiting state of a local command.

func (*CmdStateWaiting) DeepCopy added in v0.18.11

func (in *CmdStateWaiting) DeepCopy() *CmdStateWaiting

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

func (*CmdStateWaiting) DeepCopyInto added in v0.18.11

func (in *CmdStateWaiting) DeepCopyInto(out *CmdStateWaiting)

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

type CmdStatus added in v0.18.11

type CmdStatus struct {
	// Details about a waiting process.
	// +optional
	Waiting *CmdStateWaiting `json:"waiting,omitempty"`

	// Details about a running process.
	// +optional
	Running *CmdStateRunning `json:"running,omitempty"`

	// Details about a terminated process.
	// +optional
	Terminated *CmdStateTerminated `json:"terminated,omitempty"`

	// Specifies whether the command has passed its readiness probe.
	//
	// Terminating the command does not change its Ready state.
	//
	// Is always true when no readiness probe is defined.
	//
	// +optional
	Ready bool `json:"ready,omitempty"`
}

CmdStatus defines the observed state of Cmd

Based loosely on ContainerStatus in Kubernetes

func (CmdStatus) CopyTo added in v0.18.11

func (*CmdStatus) DeepCopy added in v0.18.11

func (in *CmdStatus) DeepCopy() *CmdStatus

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

func (*CmdStatus) DeepCopyInto added in v0.18.11

func (in *CmdStatus) DeepCopyInto(out *CmdStatus)

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

type ExecAction added in v0.18.11

type ExecAction struct {
	// Command is the command line to execute inside the container, the working directory for the
	// command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
	// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
	// a shell, you need to explicitly call out to that shell.
	// Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	// +optional
	Command []string `json:"command,omitempty" protobuf:"bytes,1,rep,name=command"`
}

ExecAction describes a "run in container" action.

func (*ExecAction) DeepCopy added in v0.18.11

func (in *ExecAction) DeepCopy() *ExecAction

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

func (*ExecAction) DeepCopyInto added in v0.18.11

func (in *ExecAction) DeepCopyInto(out *ExecAction)

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

type FileEvent added in v0.18.12

type FileEvent struct {
	// Time is an approximate timestamp for a batch of file changes.
	//
	// This will NOT exactly match any inode attributes (e.g. ctime, mtime) at the filesystem level and is purely
	// informational or for use as an opaque watermark.
	Time metav1.Time `json:"time"`
	// SeenFiles is a list of paths which changed (create, modify, or delete).
	SeenFiles []string `json:"seenFiles"`
}

func (*FileEvent) DeepCopy added in v0.18.12

func (in *FileEvent) DeepCopy() *FileEvent

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

func (*FileEvent) DeepCopyInto added in v0.18.12

func (in *FileEvent) DeepCopyInto(out *FileEvent)

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

type FileWatch

type FileWatch struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FileWatchSpec   `json:"spec,omitempty"`
	Status FileWatchStatus `json:"status,omitempty"`
}

FileWatch +k8s:openapi-gen=true

func (*FileWatch) DeepCopy

func (in *FileWatch) DeepCopy() *FileWatch

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

func (*FileWatch) DeepCopyInto

func (in *FileWatch) DeepCopyInto(out *FileWatch)

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

func (*FileWatch) DeepCopyObject

func (in *FileWatch) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FileWatch) GetGroupVersionResource

func (in *FileWatch) GetGroupVersionResource() schema.GroupVersionResource

func (*FileWatch) GetObjectMeta

func (in *FileWatch) GetObjectMeta() *metav1.ObjectMeta

func (*FileWatch) GetStatus

func (in *FileWatch) GetStatus() resource.StatusSubResource

func (*FileWatch) IsStorageVersion

func (in *FileWatch) IsStorageVersion() bool

func (*FileWatch) NamespaceScoped

func (in *FileWatch) NamespaceScoped() bool

func (*FileWatch) New

func (in *FileWatch) New() runtime.Object

func (*FileWatch) NewList

func (in *FileWatch) NewList() runtime.Object

func (*FileWatch) Validate

func (in *FileWatch) Validate(_ context.Context) field.ErrorList

type FileWatchList

type FileWatchList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []FileWatch `json:"items"`
}

FileWatchList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*FileWatchList) DeepCopy

func (in *FileWatchList) DeepCopy() *FileWatchList

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

func (*FileWatchList) DeepCopyInto

func (in *FileWatchList) DeepCopyInto(out *FileWatchList)

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

func (*FileWatchList) DeepCopyObject

func (in *FileWatchList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FileWatchList) GetListMeta

func (in *FileWatchList) GetListMeta() *metav1.ListMeta

type FileWatchSpec

type FileWatchSpec struct {
	// WatchedPaths are absolute paths of directories or files to watch for changes to. It cannot be empty.
	WatchedPaths []string `json:"watchedPaths"`
	// Ignores are optional rules to filter out a subset of changes matched by WatchedPaths.
	Ignores []IgnoreDef `json:"ignores,omitempty"`
}

FileWatchSpec defines the desired state of FileWatch

func (*FileWatchSpec) DeepCopy

func (in *FileWatchSpec) DeepCopy() *FileWatchSpec

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

func (*FileWatchSpec) DeepCopyInto

func (in *FileWatchSpec) DeepCopyInto(out *FileWatchSpec)

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

type FileWatchStatus

type FileWatchStatus struct {
	// LastEventTime is the timestamp of the most recent file event. It is nil if no events have been seen yet.
	//
	// If the specifics of which files changed are not important, this field can be used as a watermark without
	// needing to inspect FileEvents.
	LastEventTime *metav1.Time `json:"lastEventTime,omitempty"`
	// FileEvents summarizes batches of file changes (create, modify, or delete) that have been seen in ascending
	// chronological order. Only the most recent 20 events are included.
	FileEvents []FileEvent `json:"fileEvents"`
	// Error is set if there is a problem with the filesystem watch. If non-empty, consumers should assume that
	// no filesystem events will be seen and that the file watcher is in a failed state.
	Error string `json:"error,omitempty"`
}

FileWatchStatus defines the observed state of FileWatch

func (FileWatchStatus) CopyTo

func (*FileWatchStatus) DeepCopy

func (in *FileWatchStatus) DeepCopy() *FileWatchStatus

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

func (*FileWatchStatus) DeepCopyInto

func (in *FileWatchStatus) DeepCopyInto(out *FileWatchStatus)

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

type HTTPGetAction added in v0.18.11

type HTTPGetAction struct {
	// Path to access on the HTTP server.
	// +optional
	Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`
	// Name or number of the port to access on the container.
	// Number must be in the range 1 to 65535.
	Port int32 `json:"port" protobuf:"bytes,2,opt,name=port"`
	// Host name to connect to, defaults to the pod IP. You probably want to set
	// "Host" in httpHeaders instead.
	// +optional
	Host string `json:"host,omitempty" protobuf:"bytes,3,opt,name=host"`
	// Scheme to use for connecting to the host.
	// Defaults to HTTP.
	// +optional
	Scheme URIScheme `json:"scheme,omitempty" protobuf:"bytes,4,opt,name=scheme,casttype=URIScheme"`
	// Custom headers to set in the request. HTTP allows repeated headers.
	// +optional
	HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" protobuf:"bytes,5,rep,name=httpHeaders"`
}

HTTPGetAction describes an action based on HTTP Get requests.

func (*HTTPGetAction) DeepCopy added in v0.18.11

func (in *HTTPGetAction) DeepCopy() *HTTPGetAction

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

func (*HTTPGetAction) DeepCopyInto added in v0.18.11

func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction)

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

type HTTPHeader added in v0.18.11

type HTTPHeader struct {
	// The header field name
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// The header field value
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

HTTPHeader describes a custom header to be used in HTTP probes

func (*HTTPHeader) DeepCopy added in v0.18.11

func (in *HTTPHeader) DeepCopy() *HTTPHeader

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

func (*HTTPHeader) DeepCopyInto added in v0.18.11

func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader)

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

type Handler added in v0.18.11

type Handler struct {
	// One and only one of the following should be specified.
	// Exec specifies the action to take.
	// +optional
	Exec *ExecAction `json:"exec,omitempty" protobuf:"bytes,1,opt,name=exec"`
	// HTTPGet specifies the http request to perform.
	// +optional
	HTTPGet *HTTPGetAction `json:"httpGet,omitempty" protobuf:"bytes,2,opt,name=httpGet"`
	// TCPSocket specifies an action involving a TCP port.
	// TCP hooks not yet supported
	// TODO: implement a realistic TCP lifecycle hook
	// +optional
	TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty" protobuf:"bytes,3,opt,name=tcpSocket"`
}

Handler defines a specific action that should be taken in a probe.

func (*Handler) DeepCopy added in v0.18.11

func (in *Handler) DeepCopy() *Handler

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

func (*Handler) DeepCopyInto added in v0.18.11

func (in *Handler) DeepCopyInto(out *Handler)

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

type IgnoreDef added in v0.18.12

type IgnoreDef struct {
	// BasePath is the absolute root path for the patterns. It cannot be empty.
	//
	// If no patterns are specified, everything under it will be recursively ignored.
	BasePath string `json:"basePath"`
	// Patterns are dockerignore style rules relative to the base path.
	//
	// See https://docs.docker.com/engine/reference/builder/#dockerignore-file.
	Patterns []string `json:"patterns,omitempty"`
}

func (*IgnoreDef) DeepCopy added in v0.18.12

func (in *IgnoreDef) DeepCopy() *IgnoreDef

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

func (*IgnoreDef) DeepCopyInto added in v0.18.12

func (in *IgnoreDef) DeepCopyInto(out *IgnoreDef)

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

type Probe added in v0.18.11

type Probe struct {
	// The action taken to determine the health of a container
	Handler `json:",inline" protobuf:"bytes,1,opt,name=handler"`
	// Number of seconds after the container has started before liveness probes are initiated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty" protobuf:"varint,2,opt,name=initialDelaySeconds"`
	// Number of seconds after which the probe times out.
	// Defaults to 1 second. Minimum value is 1.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,3,opt,name=timeoutSeconds"`
	// How often (in seconds) to perform the probe.
	// Default to 10 seconds. Minimum value is 1.
	// +optional
	PeriodSeconds int32 `json:"periodSeconds,omitempty" protobuf:"varint,4,opt,name=periodSeconds"`
	// Minimum consecutive successes for the probe to be considered successful after having failed.
	// Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
	// +optional
	SuccessThreshold int32 `json:"successThreshold,omitempty" protobuf:"varint,5,opt,name=successThreshold"`
	// Minimum consecutive failures for the probe to be considered failed after having succeeded.
	// Defaults to 3. Minimum value is 1.
	// +optional
	FailureThreshold int32 `json:"failureThreshold,omitempty" protobuf:"varint,6,opt,name=failureThreshold"`
}

Probe describes a health check to be performed o determine whether it is alive or ready to receive traffic.

func (*Probe) DeepCopy added in v0.18.11

func (in *Probe) DeepCopy() *Probe

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

func (*Probe) DeepCopyInto added in v0.18.11

func (in *Probe) DeepCopyInto(out *Probe)

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

type TCPSocketAction added in v0.18.11

type TCPSocketAction struct {
	// Number or name of the port to access on the container.
	// Number must be in the range 1 to 65535.
	Port int32 `json:"port" protobuf:"bytes,1,opt,name=port"`
	// Optional: Host name to connect to, defaults to the pod IP.
	// +optional
	Host string `json:"host,omitempty" protobuf:"bytes,2,opt,name=host"`
}

TCPSocketAction describes an action based on opening a socket

func (*TCPSocketAction) DeepCopy added in v0.18.11

func (in *TCPSocketAction) DeepCopy() *TCPSocketAction

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

func (*TCPSocketAction) DeepCopyInto added in v0.18.11

func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction)

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

type URIScheme added in v0.18.11

type URIScheme string

URIScheme identifies the scheme used for connection to a host for Get actions

const (
	// URISchemeHTTP means that the scheme used will be http://
	URISchemeHTTP URIScheme = "HTTP"
	// URISchemeHTTPS means that the scheme used will be https://
	URISchemeHTTPS URIScheme = "HTTPS"
)

Jump to

Keyboard shortcuts

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